Hi,
w shows the commands users are executing but sometimes they only make sense when you know in which directory they are been executed.
If the user executes some backgroud job such as "tail -f somefile" and then changes his directory. And then lists of background process thru "jobs" he will get the wd in which the job was intiated.
I am also looking for something similar but instead of looking my own jobs, I want to see the wd of other users.
I hope somebody else is also feeling the need of knowing wd of others now.
TIA,
-Anshul
----- Original Message ----- From: "Manish Jethani" cruisecoder@yahoo.com To: linuxers@mm.ilug-bom.org.in Sent: Saturday, June 09, 2001 11:32 AM Subject: Re: [ILUG-BOM] wd of user
Mail from ILUG-BOM List!
Sometime today, Anshul Gupta wrote:
That would give me home directory, what I am looking for is present working directory for a particular user.
I think every instance of the shell has its own current working directory. Can you tell what's the purpose of finding the wd of every user? Perhaps we can find other (better) ways of solving your problem.
Manish
-- Tact is the ability to tell a man he has an open mind when he has a hole in his head.
Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers