No ifconfig in CentOS 7 Minimal Install

You can use the "yum provides" command to figure out what packages provide certain commands or files you're used to using.

yum provides ifconfig

The utility has been deprecated, but if you want to use it, just install net-tools.

yum -y install net-tools


Alternatively, you can get and manipulate your IP address using the ip command:

ip addr

ip link

ip -s link

หมวดหมู่เนื้อหา Blog: