Post(s) tagged Hostname

How to change linux mint PC Host Name

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

[email protected]:~$ sudo -s

Next, edit the hostname using the below command

[email protected]:~$ 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.

6 Views Posted on March 20, 2022