Resu, North Garo Hills, Meghalaya 794108

Sunday, 26 April 2015

Changing Computer Name in Elementary OS 0.2 (Luna)

It's a simple two-line command to execute:

$sudo gedit /etc/hostname

and replace the old name with the new name. It has to be done here also:

$sudo gedit /etc/hosts

Restart the computer and check the terminal. The changes will be reflected.