Bash code samples and snippets