View Single Post

  #2 (permalink)  
Old 05-08-2008
soup_or_power@yahoo.com
 
Posts: n/a
Default Re: command to find any program/script's path

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
Reply With Quote