Monday, 8 January 2018

How to change host name or machin name of your computer on oth windows and linux user

Hii friends today's i'am going to show you how to change hostname/machine name in windows and linux. Just follow the steps and u will ed8t or change your host name successfully. So here we start

* For linux user 
1) Open a terminal window to get started.
2) In Ubuntu’s Unity desktop, click the Ubuntu button to pull up the dash, search for Terminal, and press Enter.
3) You’ll need to edit your /etc/hostname file, which is where Ubuntu and other Debian-based distributions store the hostname.
4) Run the following command in the terminal to open the /etc/hostname file in the graphical “gedit” text editor for editing. 
*sudo gedit/etc/hostname


5)after apply this command termibal is shoe hostname file and the existing host name is appear in the file now you just need to delet the existing text amd add your own liked text.
6) remember one thing that the host name is must on simple format like name number domt use to many symbols.
7) you could use any other text editor you want — nano, vi, or another graphical text editor of your choice.
8)now the main work to replace host name file here is it. 
9) Locate your old hostname in the hosts file. It’ll be on a line that looks something like   * 127.0.1.1 your-old-hostname* loom like below image 
10) replace the old hostname with your new hostname. You can then save the /etc/hosts file. Its done 

                                             Thank u k