Windows 7 vs. Ubuntu 12.04: How to Change Your Computer Name 8


This brief tutorial is going to show you how to perform the same task in both Windows 7 and Ubuntu 12.04 (Precise Pangolin). Windows 7 and Ubuntu 12.04 may be different in many ways but are almost similar in many functions. Almost anything you do in Windows 7 can be done in Ubuntu 12.04. And if you’re just starting out with Ubuntu 12.04 coming from Windows 7, this brief tutorial will come in handy and give you a better understanding of how Ubuntu works.

So, today’s task will be how to rename your system. These are some of the basic tasks one performs when using Windows or Ubuntu. If you already know how to do it in Windows, then continue below to learn it in Ubuntu.

Objectives:

  • Change your PC Name in both Windows 7 and Ubuntu 12.04
  • Enjoy!

 

How to Change Your Machine Name in Windows 7

To change your computer name in Windows 7, go to Start –> then right-click on ‘Computer’ and select ‘Properties’

 

system_name_precise

 

Next, select ‘Advanced system settings’

 

system_name_precise_1

 

Then select ‘Computer Name’ tab and click ‘Change’ button.

 

system_name_precise_2

 

Finally, type the computer new name and click ‘OK’ to save. You must restart your computer for the changes to apply.

 

system_name_precise_3

 

 

How to Change Your System Name in Ubuntu 12.04 (Precise Pangolin)

To change your computer name in Ubuntu 12.04, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to open the hostname file.

sudo gedit /etc/hostname

 

system_name_precise_4

 

Next, change the value in here to whatever you want your compute new name to be and save the file.

 

system_name_precise_5

 

Next, run the commands below to open the hosts file.

sudo gedit /etc/hosts

 

system_name_precise_6

 

Finally, change the value on the second line to reflect the new name and save the file.

 

system_name_precise_7

 

Restart your computer for the changes to apply.

Enjoy!


Please share if you like it on:



Leave a Comment

Your email address will not be published. Required fields are marked *

8 thoughts on “Windows 7 vs. Ubuntu 12.04: How to Change Your Computer Name