找不到ifconfig命令

对于新安装的系统,可能会缺少ifconfig命令,这是因为少安装了net-tools工具,所以只要安装上即可。

yum install net-tools -y

原文地址:https://www.cnblogs.com/t-road/p/10248070.html