How “Exit Traps” Can Make Your Bash Scripts Way More Robust And Reliable
There is a simple, useful idiom to make your bash scripts more robust – ensuring they always perform necessary cleanup operations, even when something unexpected goes wrong.
—
http://redsymbol.net/articles/bash-exit-traps/?ck_subscriber_id=512838448
Month: June 2023
The musings of bluz71
The musings of bluz71
This is a 2023 followup to my 2018 Bash Shell Tweaks & Tips article. Since that last article there has been a renaissance in shell-agnostic command line tooling, often implemented in high-performance Rust, that has elevated the interactive shell experience.
—
https://bluz71.github.io/2023/06/02/maximize-productivity-of-the-bash-shell.html