1、查看程序所在PID

netstat -lntup

2、根据PID查找程序所在目录

ll /proc/PID/exe

3、查找程序配置路径

/proc/PID/exe -t

 

 

 

Linux查找运行程序主目录_系统