how to echo environment variables in linux code example
Example 1: print environment variables linux
ENV_VAR="hello world"
printenv ENV_VAR
Example 2: set environment variable linux
vi ~/.bash_profile
ENV_VAR="hello world"
printenv ENV_VAR
vi ~/.bash_profile