Article 5S4QB Trying blockwebsites in Linux..

Trying blockwebsites in Linux..

by
Metaphycisian
from LinuxQuestions.org on (#5S4QB)
Steps to block websites in Linux
Open terminal shortcut keys Ctrl + Alt + T.
Type sudo gedit /etc/hosts and type Ubuntu password.
Then at the bottom of file. Type each website's name you want to block like this:
127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com

Blocking websites has gone well but now blocking websites through this doesn't work anymore.. I don't know why.. I tried to block 127.0.0.1 www.lichess.org and it didn't block it..

Terminal just stated

(gedit:6059) warning: 03:11:57.960: Set document metadata failed: Setting attribute metadata: gedit- encoding not supported.

This blocking way doesn't work anymore.. It doesn't block anymore.latest?d=yIl2AUoC8zA latest?i=9cdXgP4K-7k:Zjq3LTR9100:F7zBnMy latest?i=9cdXgP4K-7k:Zjq3LTR9100:V_sGLiP latest?d=qj6IDK7rITs latest?i=9cdXgP4K-7k:Zjq3LTR9100:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments