SyntaxFix
Write A Post
Hire A Developer
Questions
By entering $PATH on its own at the command prompt, you're trying to run it. This isn't like Windows where you can get your path output by simply typing path.
$PATH
path
If you want to see what the path is, simply echo it:
echo $PATH