Skip to content

Glossary: Linux for Developers

pipefail

Also written: set -euo pipefail, strict mode, set -e, set -u

A line placed after the shebang that makes a script stop on the first failing command (`-e`), on unset variables (`-u`) and on a failure in any part of a pipeline (`-o pipefail`).

Where the book teaches it

Related terms

exit codeshebang