How do I see environment variables in terminal?

How do I see environment variables in terminal?
Answer
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.
 

Tìm kiếm

Back
Top