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.
Here is the steps of solving this problem.
Download and install the net-tools with the below command:
#yum install net-tools
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