linux命令netstat或ifconfig未找到
linux使用netstat或者ifconfig命令时,显示命令未找到。通过yum search netstat这个命令,匹配结果如下:================================= 匹配:netstat ===================bwm-ng.x86_64 : Bandwidth Monitor NGdstat.noarch : Versatile resource statistics toolnet-snmp.x86_64 : A collection of SNMP protocol tools and librariesnet-tools.x86_64 : Basic networking toolspython2-psutil.x86_64 : A process and system utilities module for Pythonpython34-psutil.x86_64 : A process and system utilities module for Pythonunhide.x86_64 : Tool to find hidden processes and TCP/UDP ports from rootkits
运行yum install net-tools 就OK了netstat和ifconfig命令在安装了net-tools后都可以使用了。
转载于:https://www.cnblogs.com/gyfluck/p/9772894.html