The widely used ifconfig is missing from Centos 7.X version of Linux with minimal install. To get it back, run the following command:
yum install net-tools
The command will then be available as usual.
If you don't want to use ifconfig and are wondering how else you can find the IP address, you can run this command: