View Single Post

  #3 (permalink)  
Old 05-08-2008
Ahmad Humayun
 
Posts: n/a
Default Re: command to find any program/script's path

On May 8, 10:43*pm, "soup_or_po...@yahoo.com"
<soup_or_po...@yahoo.com> wrote:
> On May 8, 1:37*pm, Ahmad Humayun <ahmad.hu...@gmail.com> wrote:
>
>
>
> > Hi there,

>
> > I just need someone to remind me of he command which give you the path
> > of any program/script?

>
> > For example, lets say something is in your path variable and you are
> > able to run it anywhere, and we need to find where the program
> > actually is, what do we use:

>
> > Example
> > ahmad:~> python
> > if we need to find where this program is, there is a program that used
> > to do it simply like
> > ahmad:~> **** python
> > /usr/bin/python2.5

>
> > Sorry if we have rambled too much about this, but need to know this
> > command urgently

>
> > Regards,

>
> whereis
> or
> whence


thanks alot :D u saved my day :)

regards,
Reply With Quote