access system variables linux code example
Example 1: show env in bash
#show all variable
printenv
#result one variable
echo $LOCALAPPDATA
Example 2: env variable bash
#print enviornment variable bash
echo $TEST_VAR
#show all variable
printenv
#result one variable
echo $LOCALAPPDATA
#print enviornment variable bash
echo $TEST_VAR