海纳百川
(1)用命令:netstat -tunlp | grep -w '80',根据端口号80,查询出以下信息,并找到进程号(pid):14976
netstat -tunlp | grep -w '80'
(2)根据进程号(pid)查找程序目录,ls /proc/14976,切换到相应目录,查询当前目录内容,其中cwd对应的路径即为程序执行路径:ls -l /14976/cwd
ls /proc/14976
ls -l /14976/cwd
(3)或者 ps -ef | grep -w 44629
ps -ef | grep -w 44629