最小化安装centos7 没有ifconfig命令怎么查看ip

方法一:

ip addr

方法二

1.使用命令查看 在哪个包里

yum search ifconfig

 2.使用安装命令安装

yum -y install net-tools.x86_64

原文地址:https://www.cnblogs.com/endfalse/p/14747504.html