This is a discussion on command to find any program/script's path within the Linux General forums, part of the Linux Forums category; Hi there, I just need someone to remind me of he command which give you the path of any program/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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, |
|
|||
|
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 |
|
|||
|
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, |
|
|||
|
On Thu, 08 May 2008 10:37:57 -0700, Ahmad Humayun 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, which whereis locate |
![]() |
| Thread Tools | |
| Display Modes | |
|
|