Ifconfig Command Not Found In CentOS 7

CentOS 7 minimal systems, use the commands “ip addr” and “ip link” to find the details of a network interface card. To know the statistics use “ip -s link”.

To view the details of the network interface cards, enter the following commands:

# ip addr

To view the statistics of your network interfaces, enter the command:

# ip link


# ip -s link

How do I enable and use “ifconfig” Command in CentOS 7 minimal servers?

# yum provides ifconfig

# yum install net-tools

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.