版权声明:未经授权,擅自转载、冒发,侵权必究 https://blog.csdn.net/GHHCNGC/article/details/82972726
[root@localhost ~]# cd /sbin
[root@localhost sbin]# ls
查看一下是否有 ifconfig
没有 ifconfig
的话安装 net-tools package
[root@localhost sbin]# sudo yum install net-tools
[root@localhost ~]# cd /sbin
[root@localhost sbin]# ls
查看一下是否有 ifconfig
没有 ifconfig
的话安装 net-tools package
[root@localhost sbin]# sudo yum install net-tools