- 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
Image Credits: Photo by Isis França on Unsplash.