查看Linux进程文件路径 1,通过ps命令找到进程的pid,{pid} 2,ll /proc/{pid}/就会看到 exe -> /usr/bin/php cwd -> /search/xxx exe即为cwd即为文件所在目录