x32x01
ADMINISTRATOR
- by x32x01 ||
Minimal safe Bash script template
A safe Bash script template includes
https://betterdev.blog/minimal-safe-bash-script-template/
A safe Bash script template includes
set -e
to stop the script on errors, set -u
to prevent using uninitialized variables, a root check, and event logging for easier debugging and maintenancehttps://betterdev.blog/minimal-safe-bash-script-template/
Last edited: