Various bash shell code snippets.