I know I have a $path variable. If I type 'env' or 'set' at the Terminal command line, I can see what's in the $path variable – along with lots of other extraneous stuff. But if I just type 'echo $path', I see only a blank line. What is wrong? I'm El Capitan (10.11.6).
Terminal Command Line Bash – Why Does `echo $path` Show a Blank Line
bashcommand linepathterminal
Related Question
- MacOS – My terminal path in macOS SIerra is messed up
- MacOS – Reset terminal environment to start up state, not losing print of history
- Mac exectuable only starts with ./name even when $path set
- Fix Terminal PATH Issue – How to Fix Terminal Hang After Editing PATH in .bash_profile
- How do 3rd-party programs modify the $PATH variable
- Adding Environment Variables
Best Answer
The environment variable name are case sensitive. Try typing
echo $PATH
instead.