Linux

How to change your Computer Name in Ubuntu

Written by Ian Carnaghan · 8 sec read >
  • 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

Last Updated On April 07, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. In my spare time I teach undergraduate classes in web development. Profile

Leave a Reply

avatar
  Subscribe  
Notify of