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
Solved

PATH for COMMAND

Posted on 2000-02-14
6
253 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

860 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