PATH for COMMAND

How can I get the full path for a command if it is in the PATH ?

Andrew
andrewyuAsked:
Who is Participating?
 
slokConnect With a Mentor Commented:
type
echo $PATH

it will show you everything inside
the path.
0
 
ozoCommented:
`which command`
0
 
andrewyuAuthor Commented:
YES, I want to get "which" !

Thank you very much !

Andrew
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
slokCommented:
personally, I think the marks should go to ozo as well.

his suggestion is definitely better and more useful.
0
 
cartoon022100Commented:
"whereis" will also show
0
 
andrewyuAuthor Commented:
Thank you very much !

Andrew
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.