env variables bash code example
Example 1: env variable bash
#print enviornment variable bash
echo $TEST_VAR
Example 2: setting environment variables bash
export VARNAME="my value" # shorter, less portable version
#print enviornment variable bash
echo $TEST_VAR
export VARNAME="my value" # shorter, less portable version