How to change Hostname in Ubuntu
Some time we need to change host name in Ubuntu so I am going to describe it.This is common issue those who are not friendly with this os.
There are many way for doing this task but I am going to change it by using GEDIT command.
Before changing hostname- It is ubuntu
Open Terminal and run given command: sudo gedit /etc/hostname
it will ask for password after that below prompt will be displayed change name into this file.
restart machine.
Before changing Hostname;
After Changing:
Comments
Post a Comment