On CentOS 7 instead of ifconfig , it must be used << ip address >>
or the abbreviated << ip a >> command ...
It seems that ipconfig is deprecated and superseeded by ip command from iproute2 package
Type “” command in your terminal ~ opens .
nmtui is an alternative command for nmcli which is based on “Text User Interface”
hostnamectl set-hostname Your-New-Host-Name-Here