Last month, I explored exit codes and how decent error correction in your shell scripts always should include testing the value of $? after each meaningful command ...
Discover the techniques that help popular scripts succeed.