Environment Variables

  • Global variables in shell

printenv

  • Shows all environment variables in shel

export VAR_NAME=VAR_VALUE

  • Add new environment variable

unset VAR_NAME=VAR_VALUE

  • Remove environment variable

Last updated