access env variables bash code example
Example 1: show env in bash
#show all variable
printenv
#result one variable
echo $LOCALAPPDATA
Example 2: env variable bash
#Set envionrment variable bash
TEST_VAR='Hello World!'
#show all variable
printenv
#result one variable
echo $LOCALAPPDATA
#Set envionrment variable bash
TEST_VAR='Hello World!'