Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find another user's CURRENT directory

Status
Not open for further replies.

theotyflos

Programmer
Oct 15, 2000
132
GR
Hi all,

Anyone knows if there is a way to find some other user's CURRENT (not home) directory? If yes how? (a thought: do i have to look in /dev/[k]mem ?)

Theophilos.

-----------

There are only 10 kinds of people: Those who understand binary and those who don't.
 
You may consider to take a look at the lsof program.
This stand for list open files.
You may grep the output produced for cwd (current working directory).
[link ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/binaries/osr/]Binaries for SCO OpenServer are here[/url]


Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Thanks a lot PH,

I have used lsof in the past but forgot about it :)


Theophilos.

-----------

There are only 10 kinds of people: Those who understand binary and those who don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top