找不到ifconfig命令网络
使用以下命令,安装net-tools工具,就可使用ifconfig命令查看网卡了。工具
yum -y install net-tools
固然也可使用如下命令查看网络配置的信息。spa
ip addr