方法一:
ip addr
方法二
1.使用命令查看 在哪个包里
yum search ifconfig
2.使用安装命令安装
yum -y install net-tools.x86_64
相关文章: