Hacker News new | ask | show | jobs
by sorbus 5462 days ago
I used to have a bash script that would automatically comment out and uncomment lines in /etc/hosts (using sed, as I recall), as well as having an automatic timer so it would block access after ten minutes or so. Come to think of it, I could probably have also set it up so it would only run during certain blocks of time (it wasn't effective because it was too easy to run).

(It's probably predictable that my response to this was wondering why it's superior to host-file blocking).