Get Shit Done is a command-line utility that blocks popular, known-to-be-distracting web sites so you can get your work done. Even if you're not a command line pro, it's pretty simple to use and blocks time-sucking sites without fail.


The script works by blocking time-wasting files via your computer's hosts file—which we've addressed in the past—only this solution makes turning your blocker on and off much easier.


To get it to work, you'll need the Python scripting language installed on your computer. (Mac and Linux users, it ships on most of your computers; Windows users, you can download it here.) Then all you need to do is download the source from GitHub, open your command line app of choice (again, Windows users, we'd recommend Cygwin), cd to the directory containing the script, and execute the following command:

G/O Media may get a commission Subscribe and Get Your First Bag Free Promo Code AtlasCoffeeDay20

sudo get-shit-done work

When you're done, use this command:

sudo get-shit-done play

You'll need to edit the get-shit-done.py script in a plain text editor if you want to add specific sites not already in the list (just add them to the siteList variable), and if your hosts file isn't in the default /etc/hosts location, you may want need to edit that as well.


For a simpler, decidedly less geeky solution, check out our guide to limiting visits to time-wasting web sites.


Get Shit Done | GitHub

You can follow Adam Dachis, the author of this post, on Twitter and Facebook. Twitter's the best way to contact him, too.



