[Ilugc] Tip: Find out current working directory of a process

  • From: vcbuddy@xxxxxxxxx (Version Control Buddy)
  • Date: Tue, 20 Dec 2011 21:23:37 +0530

Run ps aux to find out PID of a process:
$ ps aux | grep {process-name}
To find out current working directory of a PID 13456:
$ pwdx 13456


For more info please check
http://www.cyberciti.biz/tips/linux-report-current-working-directory-of-process.html

Other related posts: