Wednesday, January 6, 2010

Block dislikes Website in Ubuntu Linux


Special Great opportunity just for only Ubuntu Linux operating system user .If you are using a Ubuntu Linux operating system and your computer is frequently used to connect to internet,you want to block some dislikes sites from being visited using your computer. So here is a simple method for it.

How can to Block dislikes Website in Ubuntu Linux?

The process to block websites in Ubuntu Linux is very simple and doesn’t require any others applications. You just need to make a simple entry in the /etc/hosts file. /etc/hosts is a very important file which handles DNS and internet handling on Linux based systems. In order to block some site from opening, open the /etc/hosts file by typing the following command on the terminal:

gedit /etc/hosts

and add the following line:

127.0.0.1 domain.com

Example 127.0.0.1 yahoo.com

Here replace domain.com with the name of the domain that you want to block. Once the above exercise is done, who ever tries to access the site will get a message “Failed to Connect”.

0 comments: