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