CentOS 7 -bash:ifconfig:command not found

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

解决方案:

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

sudo yum install net-tools -y

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

posted @ 2019-11-01 14:47  懵咚  阅读(128)  评论(0编辑  收藏  举报