Checking Environment Variables Are Set

On Linux

1.   Launch a shell, if you don't have one open already.
2.   Enter echo $VARIABLE. Replace VARIABLE with the name of the environment variable you set earlier. For example, to check if MARI_CACHE is set, enter echo $MARI_CACHE.

If the variable is set, its value is displayed in the shell window.

On Windows

1.   Select Start > All Programs > Accessories > Command Prompt.
2.   In the command window that opens, enter echo %VARIABLE%. Replace VARIABLE with the name of the environment variable you set earlier. For example, to check if MARI_CACHE is set, enter echo %MARI_CACHE%.

If the variable is set, its value is displayed in the command window.

On Mac

1.   Launch a terminal, if you don't have one open already.
2.   Enter echo $VARIABLE. Replace VARIABLE with the name of the environment variable you set earlier. For example, to check if MARI_CACHE is set, enter echo $MARI_CACHE.

If the variable is set, its value is displayed in the terminal window.