Change Fedora hostname permanently
When remote login to another machine, it is likely that the hostname are always the same, like localhost, this can be confusing when logging to many machines at the same time, so the following method can be used to change the hostname (only root can do this):
vim /etc/hostname |