How to change your Computer Name in Ubuntu

H

How Can We Help?

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

About the author

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.

About Author

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.

Follow Me