You will most often use Bash functions to make your shell life easier; instead of typing out complex command pipelines, create a function and inject arguments. You'd place these in your bashrc file, ...
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 ...
The next time you need to wait on a step in your script, don't just add a delay. Instead, use a Wait-Action function to wait just the right amount of time. A script is all about defining a set of ...