Home »
Bash Scripts Set Environmental Variables with EXPORT [HowTo]
This tutorial will show you how to set environmental variables in Bash/Shell scripts using the export keyword. Generally, variables declared in Bash/Shell scripts exist only within the scope of that running Bash/Shell script. To make them available elsewhere, they can be set as an environmental variable – meaning that the variable will be available when executing commands outside of the script on your system – for example, making the variable available from the command line after the script has completed. The export keyword does this – … Read more