Ifconfig not working in Centos 7

I did install Centos 7 with minimal installation and found out that each time run this commad

# ifconfig: I got a message command not found as shown below.

ifconfigNotFoundCentos7

 

 

 

Here is the steps of solving this problem.

Download and install the net-tools with the below command:

#yum install net-tools

ifconfigNotFoundCentos7 v3

 

That’s it, you should now have net-tools and when you run ifconfig, should work for you.

Further explanation of this can been found on this link below:

ifconfig command not found on CentOS 7