Linux 系统 通过端口号找到对应的服务及其安装位置

https://blog.csdn.net/wang_jing_jing/article/details/126001209

一、确定8080的进程号

netstat -antup|grep 8080

二、通过进程号确定服务目录 

  1. ll /proc/13073/cwd
  2. pwdx 13073