Bash tricksPublished: 2018-10-03 by Julien Enselme in Trucs et astuces • Tagged with: Bash, Shell, LinuxContentsScriptsSignalsScriptsUse this at the top of all your Bash scripts to avoid problems: # Exit on error. set -e # Don't allow undefined variable. set -u # Make pipeline fail if any command in it fail. set -o pipefail SignalsSee this article.