linux命令netstat或ifconfig未找到


linux命令netstat或ifconfig未找到


 

linux使用netstat或者ifconfig命令时,显示命令未找到。
通过yum search netstat这个命令,匹配结果如下:
================================= 匹配:netstat ===================
bwm-ng.x86_64 : Bandwidth Monitor NG
dstat.noarch : Versatile resource statistics tool
net-snmp.x86_64 : A collection of SNMP protocol tools and libraries
net-tools.x86_64 : Basic networking tools
python2-psutil.x86_64 : A process and system utilities module for Python
python34-psutil.x86_64 : A process and system utilities module for Python
unhide.x86_64 : Tool to find hidden processes and TCP/UDP ports from rootkits

运行yum install net-tools 就OK了
netstat和ifconfig命令在安装了net-tools后都可以使用了。


 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM