CAEN Knowledge Base
CAEN Knowledge Base

How do I set an environment variable in Bash?

Use the following command:

export VARIABLE=VALUE


Note: There is an equals sign between the variable name and the value.