Here we learn the steps to change the host or computer name of PC or laptop running on Ubuntu 20.04.19.04.18.04.17.04.16.04 Linux using GUI- Graphical user interface…
The hostname or also known as computer name is the identification of a system on the network. For example, I have multiple computers on my local network in-home or office, therefore, to easily identify them, the operating system automatically assigns some name while the installation. However, these auto-assigned computer names by the OS whether it is Linux or Windows are not as you want. So, to give a proper label to a PC let say, a server with Apache and another one with Nginx, to easily recognize them you can use the different hostname such as serverapache
and servernginx
. This not only well described the purpose of the machine but also let other users know which machine belongs to whom.
So, in case after some time you realize that your Ubuntu computer name is not as you want then change it easily with few clicks of the mouse.
What do we learn here:
- Updating Ubuntu Linux hostname using GUI.
- Changing the computer name with restarting the system.
Note: See the command line method to update the hostname on Ubuntu Linux.
Open Ubuntu Settings
Go to the Show Applications menu of Ubuntu and search for Settings. You can access it in a faster way, by click on the drop-arrow given in the Ubuntu Taskbar on the extreme right-hand side. We usually use that to access the Power-off menu and Wifi/Wired connections. There you will also see the Setting gear icon to access it.
Access About Section
On the Options menu of the Settings given on the left side, scroll down to the end to select the About option. When you see it, just click that to access further things.
Change Device Name via GUI
You will see all the information related to your OS and computer there and the first thing on the list is a Device name. Click on that.
Add new Ubuntu computer name to update
A GUI box will open showing the existing hostname of your Ubuntu Linux PC or laptop. Delete that and enter the new one which you want to use with it.
Finally, Rename and exit. That’s it.
Verify the change hostname
Although there is no need to verifying, even if you still want then simply on command terminal type: hostnamectl
and you get the hostname along with other details such as OS version and all.
Static hostname: ubuntuh2s Icon name: computer-vm Chassis: vm Machine ID: 5c9584feeb354a1ab4e2f40e393769c9 Boot ID: 212a6e8430184bd0aa31a13e66ed7c8b Virtualization: oracle Operating System: Ubuntu 20.04 LTS Kernel: Linux 5.8.1-050801-generic Architecture: x86-64