export env varaible in bash file and then echo it in terminal 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!'