linux how to add a script shell to variable environment code example
Example 1: shell set environment variable
export VARNAME="my value" # shorter, less portable version
Example 2: add environment variable linux
source ~/.bash_profile
export VARNAME="my value" # shorter, less portable version
source ~/.bash_profile