Today I am going to show you linux small trick
It's Block website in linux System
this can be use to preventing small kids and Employees using social media and
any other web site
1.open terminal
( Ctrl+Alt+T) in ubuntu
2.open hosts file
type command in terminal
sudo vi /etc/hosts
Then enter Root password
3.Edit host file ,put this two line to block facebook if you want to block any other site that site include site name according to this ,
127.0.0.1 facebook.com
127.0.0.1 www.facebook.com
4.save it and try to log facebook It's impossible now
watch this video demonstration


ConversionConversion EmoticonEmoticon