zl程序教程

您现在的位置是:首页 >  其它

当前栏目

【已解决】-bash: lsof: command not found

解决 not found Command Bash lsof
2023-09-14 09:05:04 时间

centos 下无法使用lsof命令:“-bash: lsof: command not found”

 解决方法:

yum install lsof

安装成功后 执行命令, 

 lsof 的常用命令:
lsof -i:(端口号)
lsof -i:3306 (3306默认是mysql服务器的端口)
lsof -i:3690 (3690默认是svn服务端的端口)