Invoking Bash (Bash Reference Manual)| www.gnu.org
Bash History Facilities (Bash Reference Manual)| www.gnu.org
Bash Conditional Expressions (Bash Reference Manual)| www.gnu.org
Pipelines (Bash Reference Manual)| www.gnu.org
Problem: you have a pipeline like so: $cmd1 | $cmd2 | $cmd3 and you want to detect if $cmd1 exits with a exit code greater than 1. — can be read in 2 minutes| til.codeinthehole.com
Safer bash scripts with 'set -euxo pipefail'| vaneyckt.io
Bash Variables (Bash Reference Manual)| www.gnu.org