Ubuntu: How to Change the Computer Name

Home -> UNIX -> Linux

9496 views

From the computer of: shamanstears (737 recipes)
Created: Jan 07, 2008     Updated: Jan 10, 2008


1 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

You might run into a situation that requires you to change your computer name, either because you need it to meet a naming scheme or you're just bored with it and want something better. By following these steps, you'll give your computer a new identity in no time.

1. Open a terminal window.

2. Input the following command and hit Enter:

gksudo gedit /etc/hostname


3. When prompted, enter the administrator password and click the OK button.

4. The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.

5. Click Save.

6. Close all open windows and restart your system.

After your system has restarted, it will have the new computer name.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.




1 Recipe comments: View comments

Ubuntu: How to Change the Computer Name by projektdotnet



Related recipes:

  Upgrade Ubuntu From Dapper(6.06) to Edgy(6.10)
  Ubuntu: Install the Ubuntu Studio Theme
  Ubuntu: Optimize Font Rendering for Viewing on LCDs and Laptops
  Ubuntu: How to Enable Automatic Login
  Ubuntu: How to Remove a User Account
  Ubuntu: Change How Often Your System Checks for Updates
  Ubuntu: Restore Restart and Shut Down to the Log Out Button
  Ubuntu: What Version am I Running?
  Ubuntu: How To Create an ISO Image from a CD or DVD
  Ubuntu: Enable DVD Playback

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.