Various shell code snippets.