Glossary term
What is set -e (set -euo pipefail)?
set -e stands for set -euo pipefail.
A safety belt for scripts that stops on a failed command, an unset variable or a failed stage inside a pipeline.
Learn it properly · Linux & ShellLesson 4: Shell Scripting: Variables, Conditions, Loops and FunctionsWriting safe bash scripts: quoting, set -euo pipefail, arguments, conditions, loops, functions, trap, and ShellCheck.