centos下无法使用lsof命令解决方案

在centos下查看端口占用情况输入命令

lsof -i:8080(自己的端口号)

出现"-bash: lsof: command not found"

解决方案:

yum install lsof

安装即可

posted @ 2019-07-16 14:31  骷髅党政委  阅读(1497)  评论(0编辑  收藏  举报