Wednesday, 30 October 2013

How to change Host name in Ubuntu and Linux mint.

Change Host name in Ubuntu and Linux mint.


Host name actually means that its a computer name. This post will show you how easily you can your computer name whem using Ubuntu or Linux mint. To change hosts name we are giving some terminal commands.

 Edit Host name in Ubuntu and Linux mint.


To change host name move to terminal by Ctrl – Alt – Ton your keyboard.

Then enter this command in your terminal. Then edit the name to the required name and save it.
sudo gedit /etc/hostname

change Host name in Ubuntu and Linux mint.


Next, run the commands below to open the hosts file.

 
sudo gedit /etc/hosts

change Host name in Ubuntu and Linux mint.

You should the same name that you have given in host name.

You should restart your pc

Video tutorial by our team.

No comments:

Post a Comment