How to Change Computer Name in Ubuntu
Sometimes situation compels you to change your computer name, either because you need it to meet a naming scheme or you are just bored with it and want something better. Now the question is How to change computer name in ubuntu? By these following steps, you will give your computer a new identity in few seconds.
- Open a terminal window.
- Input the following command and hit Enter:
gksudo gedit /etc/hostname
- When prompted, enter the administrator password and click the OK button.
- The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.
- Click Save.
- Close all open windows and restart your system.
After your system has restarted, it will have the new computer name. 🙂