Solved

PATH for COMMAND

Posted on 2000-02-14
6
238 Views
Last Modified: 2010-04-21
How can I get the full path for a command if it is in the PATH ?

Andrew
0
Comment
Question by:andrewyu
6 Comments
 
LVL 3

Accepted Solution

by:
slok earned 0 total points
ID: 2521130
type
echo $PATH

it will show you everything inside
the path.
0
 
LVL 84

Expert Comment

by:ozo
ID: 2521910
`which command`
0
 

Author Comment

by:andrewyu
ID: 2522554
YES, I want to get "which" !

Thank you very much !

Andrew
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 3

Expert Comment

by:slok
ID: 2523041
personally, I think the marks should go to ozo as well.

his suggestion is definitely better and more useful.
0
 

Expert Comment

by:cartoon022100
ID: 2551429
"whereis" will also show
0
 

Author Comment

by:andrewyu
ID: 2552597
Thank you very much !

Andrew
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now