Who's in my Directory ?
Heiko Blume
src at scuzzy.in-berlin.de
Fri Nov 23 09:59:12 AEST 1990
tchrist at convex.COM (Tom Christiansen) writes:
>In article <1990Nov21.004657.10564 at mcs.kent.edu> dpavlich at math-cs.kent.edu (Dave Pavlich) writes:
>> Is there a way on unix to find out if someone has 'cd''d into your
>> directory ?
>Use the BSD fstat if you have it; that one I know works. SysV fuser
>I've heard may also help.
yep, fuser(1M) does it, but only if you are root. it also says
if the directory is the current, parrent, or root directory
of the processe(s) that use the given directory.
--
Heiko Blume <-+-> src at scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93
public source archive [HST V.42bis]:
scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp
uucp scuzzy!/src/README /your/home
More information about the Comp.unix.misc
mailing list