Question: what is the difference between redhat 6 and 7?
Answer: RHEL 7 v/s 6 Differences. ... In Red Hat Enterprise Linux 7, as part of the move to the new init system (systemd), the hostname variable is defined in "/etc/hostname" file. In Red Hat Enterprise Linux 6, the hostname variable was defined in the "/etc/sysconfig/network" configuration file.