Modifying the system hostname
The host namectl command is used to modify this file and may be used to view the stat us of the system's fully qualified hostname.
Important:-The static hostname is stored in /etc/host name. Previous versions of Red Hat Enterprise Linux stored the host name as a variable in the /etc/sysconfig/network file .