Bash routines I use often