Source: http://rgonzo.us/shiny/books/bashcookbook.pdf