Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A simple bash script to block access to time-wasting sites.
Latest commit 4b29cdd @jcromartie Merge pull request #4 from randallm/master
remove GSD_RESET option; implement better explicit behavior for Linux users

README.markdown Get S#!t Done is a simple bash script to improved productivity by blocking sites through modifying /etc/hosts, creating an entry pointing to for each site in a list.


Copy to somewhere in your PATH. For convenience, you may wish to create an alias like this:

alias gsd="sudo -E"

Changes in /etc/hosts take effect immediately on Linux machines, so all GUI browser instances are killed upon execution of gsd.


Simply run the script to set your hosts file to "work mode."

sudo -E

To go back to "play mode" run:

sudo -E --play


Just set the environment variable GSD_SITES to a list of additional sites you wish to block, like (in your .profile for example):

export GSD_SITES=""
Something went wrong with that request. Please try again.