echo env variable in bash script linux code example
Example 1: env variable bash
#print enviornment variable bash
echo $TEST_VAR
Example 2: env variable bash
#Set envionrment variable bash
TEST_VAR='Hello World!'
#print enviornment variable bash
echo $TEST_VAR
#Set envionrment variable bash
TEST_VAR='Hello World!'