Fail–Fast Settings

Fail–Fast Settings#

Our scripts don't always go as planned, and so it's important to have a strategy for how to handle failures. One way is called "fail fast" where we simply exit if there is a problem. Here's how we fail-fast in bash scripts.


This page is a preview of The newline Guide to Bash Scripting

No discussions yet