Answers for "Echo environment variables"

0

print env variable mac

# Print all environment variables 
printenv
Posted by: Guest on June-22-2020
2

print environment variables linux

ENV_VAR="hello world"
printenv ENV_VAR
Posted by: Guest on February-11-2021
0

show env in bash

#show all variable
printenv

#result one variable
echo $LOCALAPPDATA
Posted by: Guest on October-27-2020

Browse Popular Code Answers by Language