command line print environment variable code example
Example 1: windows print env variable
echo %PATH%
Example 2: bash get environment variable
Just type next command to list all environments varialbes in terminal:
printenv
echo %PATH%
Just type next command to list all environments varialbes in terminal:
printenv