Problem :
On a clean installation of CentOs 7 when running the "ifconfig" command it says it's an unknown command .
Solution :
Install the "net-tools" package using yum /
yum install net-tools
After installation ifconfig will work and some more networking commands