Remove / Uninstall RPM – CentOS
Look for the exact name of the installed rpm you want to remove [crayon-5d82a81a24879329854868/] Copy…
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:
Issue ifconfig at shell and you should see the output you’re used to.