User Functions


There are no upcoming events

Welcome to Roanoke Linux Users Group Tuesday, August 21 2018 @ 05:41 AM EDT


Change Computer Name

Linux Tips and Tricks
  • Thursday, May 29 2014 @ 09:51 AM EDT
  • Contributed by:
  • Views:

Don't like the default computer name given when you installed your Linux distro? You can rename it by editing two files: /etc/hosts and /etc/hostname

  1. Open up the terminal window with Control + Alt + T
  2. Type in command sudo nano /etc/hostname
  3. Remove the current name and type in the new name
  4. Save the file with Control + O and exit with Control + X
  5. Type in command sudo nano /etc/hosts
  6. Edit the second line to type in the new name
  7. Save and exit as in step 4
  8. Restart the computer to enable the change


Trackback URL for this entry:

The following comments are owned by whomever posted them. This site is not responsible for what they say.