Page 1 of 1

How do I edit the hosts file?

Posted: Sat Nov 16, 2013 6:23 pm
by vortechs
In Windows I used a program called HostsXpert to manage the hosts file, with it you could download updated hosts files with all the ad servers and doggy sites blocked and add any you wish to block, is there something similar for Linux or if not how do I manually edit the Hosts file?
Thanks.

Re: How do I edit the hosts file?

Posted: Sat Nov 16, 2013 6:42 pm
by barko
vortechs wrote:In Windows I used a program called HostsXpert to manage the hosts file, with it you could download updated hosts files with all the ad servers and doggy sites blocked and add any you wish to block, is there something similar for Linux or if not how do I manually edit the Hosts file?
Thanks.
from terminal you can do this:

sudo nano /etc/hosts