#scripting

1 article tagged “scripting”.

A terminal running a Bash script that starts with set -euo pipefail
LinuxIntermediate

Writing Bash Scripts That Don't Break

Most shell scripts work fine until a file name has a space in it or a command fails halfway through. Learn strict mode, quoting, safe temporary files and cleanup traps, then put it all together in a real backup script.

6 min read