On Mon, 2004-09-13 at 22:37, robg wrote:
> hi, say im the user 'rob' and i have the same program in two seperate
> folders in my /home dir and run both.. if i run ps it shows me im
> running both, but how can i find out which location folder is running
> which program shown in ps

The "which" command will tell you the fully-qualified path name of any
executable that can be found in the $PATH variable.  It will search in
order of the directories in the path.

So, if your program is "myprog", run the command "which myprog".

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to