Oct 12, 2013

Find out current working directory of a running process?

pwdx <PID>
lsof -p <PID> | grep cwd
readlink -e /proc/<PID>/cwd

No comments: