redhat 6 hostname configure code example Example: change hostname rhel 6 HOSTNAME="server1.cyberciti.biz"