Simple command to block distracting websites [Productivity]
Pradeep Sharma
Posted on October 1, 2017
For Linux based systems
Step 1: Open terminal
Step 2: Open the hosts file sudo vi /etc/hosts
Step 3: Add websites you want to block and save
127.0.0.1 facebook.com
127.0.0.1 www.facebook.com
127.0.0.1 web.facebook.com
For windows
The host file location(step 2) is> C:\Windows\System32\drivers\etc
everything else is the same
I'm tweeting similar things on twitter. Follow me and feel free to message me.
💖 💪 🙅 🚩
Pradeep Sharma
Posted on October 1, 2017
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.