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

方法一:

ip addr

方法二

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

yum search ifconfig

 2.使用安装命令安装

yum -y install net-tools.x86_64

 

posted @ 2021-05-09 11:30  Endfalse  阅读(570)  评论(0编辑  收藏  举报