“-bash: ifconfig: command not found“因为系统没有安装net-tools yum -y install net-tools 转载于:https://www.cnblogs.com/hx1998/p/10887773.html