centos7 最小化安装ifconfig提示command not found解决方法

问题:centos7 最小化安装后minimal install 想查看主机网卡信息ifconfig提示:-bash:ifconfig:command not found 要如何解决? 附图
centos7 最小化安装ifconfig提示command not found解决方法

在Centos7中,要查看IP地址,不再使用ifconfig命令,而是使用了IP命令。

输入:ip addr 回车,即可回显本机网卡信息。
centos7 最小化安装ifconfig提示command not found解决方法

猜你喜欢

转载自blog.51cto.com/mflag/2294021