Post(s) tagged Hostname

How to change linux mint PC Host Name

Open a terminal and enter sudo -s to enable the root privileges.

user@user-pc:~$ sudo -s

Next, edit the hostname using the below command

root@user-pc:~$ nano /etc/hostname

It will show the existing hostname (PC name). Now you can edit it and save using ctrl + x command.

Once restart your PC your hostname (PC name) will update automatically.

Posted on March 20, 2022