ll /proc/pid
cwd 那一行就是所在目录
本文来自博客园,作者:迷茫的小白,转载请注明原文链接:https://www.cnblogs.com/cloudHui/p/15882215.html