-bash: ifconfig: command not found
ifconfig is not longer bundled in the minimal image of CentOS 7. You could just use the alternative ip addr which will give you the same info ifconfig gives, but if you’re set in your ways like I am, you will want ifconfig back.
You’ll need to install the net-tools package to get ifconfig back:
yum install net-tools
Issue ifconfig at shell and you should see the output you’re used to.