Guides 11791 Published by

Make Tech Easier published a tutorial about how to use and edit the Hosts file in Linux.



How to Use and Edit the Hosts File in Linux

If you’ve ever managed multiple servers from a Linux machine or set up some kind of home lab, then you know how useful the “hosts” file can be in Linux. However, some of you might not even know it exists, much less how to leverage it to make your life easier. That’s why we are guiding you through how to use and edit the hosts file in Linux. What Is the Hosts file? The “/etc/hosts” file is where your system keeps an internal map of IP Addresses -> hostnames. 
Gnome_shell_screenshot_ojrw10

How to Use and Edit the Hosts File in Linux