HACKER Q&A
📣 p__

How to Deal with Internet Addiction?


I find it hard to keep off from mindlessly browsing the web.

It's become second nature to Ctrl+T and 'fa' for facebook, 'news' for HackerNews, 'red' for reddit, etc. that I barely notice I'm doing it.

I also regularly stay up another hour instead of going to sleep, "to catch up" on things that really don't matter or I can view tomorrow.


  👤 dend Accepted Answer ✓
Have a blocklist in your HOSTS file. That way, even if you go to those sites from your browser, you are not able to access them.

👤 perfmode
sudo vim /etc/hosts

include the lines:

127.0.0.1 news.ycombinator.com

127.0.0.1 www.nytimes.com

127.0.0.1 www.reddit.com

127.0.0.1 www.facebook.com

127.0.0.1 www.cnn.com