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.
- Change your PC Name in both Windows 7 and Ubuntu 12.04
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’
Next, select ‘Advanced system settings’
Then select ‘Computer Name’ tab and click ‘Change’ button.
Finally, type the computer new name and click ‘OK’ to save. You must restart your computer for the changes to apply.
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
Next, change the value in here to whatever you want your compute new name to be and save the file.
Next, run the commands below to open the hosts file.sudo gedit /etc/hosts
Finally, change the value on the second line to reflect the new name and save the file.
Restart your computer for the changes to apply.