?
Solved

PATH for COMMAND

Posted on 2000-02-14
6
Medium Priority
?
277 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

650 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