bin bash set env variable code example
Example 1: show env in bash
#show all variable
printenv
#result one variable
echo $LOCALAPPDATA
Example 2: setting environment variables bash
export VARNAME="my value" # shorter, less portable version