CentOS 7 最小安装后,执行 ifconfig
出现 command not found
的解决方法:
通过yum
方式安装 ifconfig 管理命令
[root@localhost ~]# yum install -y net-tools.x86_64
ifconfig
命令执行正常的同时,在 /sbin
目录下会出现 ifconfig
文件
CentOS 7 最小安装后,执行 ifconfig
出现 command not found
的解决方法:
通过yum
方式安装 ifconfig 管理命令
[root@localhost ~]# yum install -y net-tools.x86_64
ifconfig
命令执行正常的同时,在 /sbin
目录下会出现 ifconfig
文件