Menu Close

How To Change The Computer Name On Ubuntu 13.04

Here is a guide that will show you how to change the computer name. If you want to change the name because you made a mistake in naming your system during the installation process (or any other reason) follow these steps:


change_host_name_1304_yi
First you need to change the hostname, to do this open a terminal window (press Ctrl+Alt+T)) and copy+paste the following line:

sudo gedit /etc/hostname

Now replace the current host name for the new host name when your done save and close the file.

Now you need to replace the current host name for the new one you used in the previous step. To open the hosts file copy+paste the following line:

sudo gedit /etc/hosts

And replace the system name after 127.0.1.1. When done save and close the hosts file and restart your computer.

To check if it worked open a terminal window and the new computer name will be shown after [email protected]

112 total views, 2 views today

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of