Published at LXer:
This article explains how to run a command after the previous command has finished running. You can run a command after the previous one has finished, depending on the previous command's exit status (if it failed or not) or regardless of this.
Read More...