“set -e” which ensures that your script stops on first command failure. By default, when a command fails, BASH executes the next command. “set -o pipefail” which ensures that if any command in a set of piped commands failed, the overall exit status is the status of the failed command.