There are 3 methods that I'm aware of: pwdx. $ pwdx <PID>. lsof. $ lsof -p <PID> | grep cwd. /proc. $ readlink -e /proc/<PID>/cwd. Examples.
確定! 回上一頁