CentOS 7 ifconfig command not found

当习惯使用ifconfig查看网络情况的时候,新装的CentOS7却提示:ifconfig command not found。

习惯性的yum install ifconfig -y的时候,发现根本没有这个包。蒙B了?

其实解决问题很简单,这指令是在net-tools里的,直接执行指令:

yum install net-tools -y

之后,熟悉的ifconfig又可以使用了。


未经允许不得转载:阿藏博客 » CentOS 7 ifconfig command not found