CentOS 7 -bash:ifconfig:command not found

由于安装CentOS 7时使用最小安装,所以默认没有ifconfig

解决方案:

安装net-tool插件,此插件中带有此命令

sudo yum install net-tools -y

然后再次执行ifconfig命令,OK~

原文地址:https://www.cnblogs.com/gme5/p/11776964.html