Setting global environment variables
Global environment variables are visible from any child processes created by the process that sets the global environment variable. The method used to create a global environment variable is to create a local environment variable, then export it to the global environment.
This is done by using the export command:
Example:
export http_proxy=http://192.168.1.1:3128/
You can also remove an existing environment variable. This is done by using the unset command.
Leave a Reply
You must be logged in to post a comment.