Insert the below into the console
export VARIABLE_NAME = VARIABLE_VALUE
To remove the environment variable
unset VARIABLE_NAME
To view the environment variable:
env | grep -i VARIABLE_NAME
Note, for the env | grep -i command, the VARIABLE_NAME can also just be
part of the variable name, eg “proxy” and then any variables
containing that value will display. Eg http_proxy, and htts_proxy
will display if you insert env | grep -i “proxy”.