linux 下查看 某个process 的所在位置( find out which folder a process is running from)

访问量: 2179

$ ls -l /proc/22503/cwd    ( 22503 is your proccess id )

就是这么简单(so easy! ) 

感谢 沛沛 (http://www.hanpeipei.com/ ) 告诉我这个技巧。

订阅/RSS Feed

Subscribe