-bash: lsof: command not found
lsof安装
yum install -y lsof
[root@iZ2ze8bpfv23icsz3g2hp2Z Blog]# lsof -i:80
-bash: lsof: command not found
[root@iZ2ze8bpfv23icsz3g2hp2Z Blog]# lsof
-bash: lsof: command not found
[root@iZ2ze8bpfv23icsz3g2hp2Z Blog]# yum install -y lsof
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
docker-ce-stable | 3.5 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package lsof.x86_64 0:4.87-6.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================
Installing:
lsof x86_64 4.87-6.el7 base 331 k
Transaction Summary
================================================================================================================================================================
Install 1 Package
Total download size: 331 k
Installed size: 927 k
Downloading packages:
lsof-4.87-6.el7.x86_64.rpm | 331 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lsof-4.87-6.el7.x86_64 1/1
Verifying : lsof-4.87-6.el7.x86_64 1/1
Installed:
lsof.x86_64 0:4.87-6.el7
Complete!
[root@iZ2ze8bpfv23icsz3g2hp2Z Blog]#
个人网站
公众号