Learn How you can Block Website in Linux Operating System
1.Open Console or Terminal, and Type gedit /etc/hosts
2.Navigate to End of the file and type like this "127.0.0.1 www.facebook.com" without quotes
3.Now save the modified file
4.Go back to terminal and type "service network restart" without quotes
5.That's It.
6.Open the browser and visit www.facebook.com then this website will not be open because it is blocked.
7.Now if you want to add more website to block then repeat the process and add more website that you want to block.
1.Open Console or Terminal, and Type gedit /etc/hosts
2.Navigate to End of the file and type like this "127.0.0.1 www.facebook.com" without quotes
3.Now save the modified file
4.Go back to terminal and type "service network restart" without quotes
5.That's It.
6.Open the browser and visit www.facebook.com then this website will not be open because it is blocked.
7.Now if you want to add more website to block then repeat the process and add more website that you want to block.
Comments
Post a Comment