How to change the hostname in Ubuntu 19.10

Today we are looking at how to change your system's hostname in Ubuntu 19.10.  This will work in all supported versions of Ubuntu.  If you are using an Ubuntu Flavor or Ubuntu Based system, then you might need to change the text editor in the commands, if you need advice, please let me know.

In the video, we first look at what our current hostname is.  After that, we change the hostname to what you like in two text files, with the commands below.  Then we reboot our system and lastly make sure the hostname has been changed by running the first command again.  Enjoy!

1) modify hostname here:
sudo gedit /etc/hostname
sudo gedit /etc/hosts

reboot your system

see current hostname

Do you need remote help, setting up your system, installing programs or general troubleshooting?  Hire me on Upwork! Click here!

Subscribe to our weekly Linux Round-Up: SUBSCRIBE

For a video with Voice-Overs look here: coming soon

Curios about Chromebooks have a look at our Chromebook Comparison Chart!

Want to buy us a cup of coffee, thank you!

Do you want an ad-free, secure web experience, that pays you?  Look here for more information!

Follow us on Facebook: