Tag Archives: rename

HOWTO To Change The Hostname

So for whatever reason you need to change the hostname of your GNU Linux machine. For me this is usually because I am playing around with a virtual machine. I have automated the setup for a number machine installations. Once I have it running and configured I may want to keep, so changing it’s name is a nice thing to do.

Check your hostname is set to something and no errors are returned. The commands below will return the host name with and without the domain.

Continue reading