Home Linux下查看某个process的所在位置(findoutwhichfolderaprocessisrunningfrom
Post
Cancel

Linux下查看某个process的所在位置(findoutwhichfolderaprocessisrunningfrom

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

就是这么简单(so easy! ) 

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

This post is licensed under CC BY 4.0 by the author.