Scripting and Bash

Every once in a while I need to do some Bash scripting. Especially when grading students, but sometimes for other purposes. The answer to how to do stuff in bash is a Google search away. However, there are some websites with great pointers on what to do, and what not to do in Bash: