Jump to content

How to Use the Hosts File in Linux


rajeesh

Recommended Posts

If you saw our article on using the hosts file in Windows and you’re using Linux instead of Windows, you may be wondering how to do exactly the same thing in Linux. Well, you’re in luck. Here are the exact steps to use the hosts file in Linux.

In Linux, and other Unix-based systems, including the BSDs and Mac OS X, it’s located in “/etc/hosts”, and it works almost exactly the same way it does under Windows. In fact, it existed under Unix for longer than it has under Windows.

Read the full article at source:

Source

Link to comment
Share on other sites


  • Views 1.3k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...