A collection of useful functions to use in shell scripts