Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Linux
In most Linux distros including CentOS and Ubuntu, the hosts file can be edited directly in the terminal using Vim, Nano, or your favorite text editor. Please note that in order to edit the hosts file you need to open it as root. For example:

...