How to Add Your Host Information to the Default Networking Host Profile in Ubuntu
Ubuntu is a widely used, open-source operating system that is based on Linux. Although Ubuntu is similar to the Microsoft Windows operating systems in look and feel, some configurations are a bit more complex. For example, if you have computers on your network that are not listed on a name server, you can add your host information to the default networking host profile file in Ubuntu. Edit the "Hosts" profile using the "Gedit" program in Ubuntu.
Instructions
-
-
1
Click the "Applications" option on the top taskbar in Ubuntu, and then click "Accessories." Click the "Terminal" option to open the command line terminal window.
-
2
Type the following command at the command line and press the "Enter" key. A command line password prompt will appear:
sudo gedit /etc/hosts
-
-
3
Type the administrator password and press the "Enter" key. The Gedit program will open with the "Hosts" file loaded.
-
4
Type the IP addresses for each computer on your network.
-
5
Click "File" from the top menu in Gedit, and click "Save" to save the "Hosts" file.
-
1