I just setup a VM with CentOS 7 Minimal Install. When I want to check the network, the error below is shown:

ifconfig command not found


It is because net-tools was not installed by default. You can simply run the following command to install net-tools.

# yum install net-tools


You can run ifconfig command now.