On Sun, Oct 13, 2002 at 10:05:18AM -0700, Sarad AV wrote: > how ever is there any way to find the directory in > which the file is located?any command or method as > such?
ls -l /proc/$PID/exe is probably what you are looking for. Eg: binand@binand[~]:(6) sudo ls -l /proc/1/exe lrwxrwxrwx 1 root root 0 Oct 14 08:49 /proc/1/exe -> /sbin/init Binand -- If you found this helpful, please take some time off to rate it: http://svcs.affero.net/rm.php?r=binand ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
