如果出现下面问题:
[root@thunderspeed ~]# ifconfig
bash: ifconfig: command not found...
[root@thunderspeed ~]#
[root@thunderspeed ~]# netstat
bash: netstat: command not found...
[root@thunderspeed ~]#
使用provides搜索依赖包
sudo yum provides ifconfig
搜索结果是: net-tools 因此需要安装 net-tools包即可
sudo yum install net-tools
转载于:https://blog.51cto.com/461205160/1743482