一、问题阐述
Centos系统下使用lsof命令查看端口占用程序提示【-bash: lsof: command not found】
二、解决方法
使用yum安装下lsof;
yum install lsof -y
三、接下来我们再次使用命令查看
lsof查看都端口命令:lsof -i:(端口号)
Centos系统下使用lsof命令查看端口占用程序提示【-bash: lsof: command not found】
使用yum安装下lsof;
yum install lsof -y
lsof查看都端口命令:lsof -i:(端口号)