How to change your Computer Name in Ubuntu
- Open a new Terminal Window
- Type in the following command
sudo gedit /etc/hostname
- The command above will open gedit, change your computer name and close gedit
- Logout and Login with your credentials and your computer name will be changed