Ubuntu set hostname permanently (computer name) command
To set the hostname (computer name) of an Ubuntu system permanently, you need to modify two files: /etc/hostname and /etc/hosts. Here’s how to set the hostname in Ubuntu: Open the terminal. Use the following command to open the /etc/hostname file in a text editor: sudo nano /etc/hostname Enter the desired hostname in the file and … Read more