o-az
o-az

Reputation: 625

echo $path is not showing anything else. New laptop

When I echo $path, it is not showing anything. I'm wondering if this what the default should be or not.

sudo vi /etc/paths shows the following:

/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

Should anything be showing when I echo $path or is it the appropriate set up?

Upvotes: 0

Views: 66

Answers (1)

Vincent Achard
Vincent Achard

Reputation: 231

Did you try $PATH instead of $path??

Upvotes: 1

Related Questions