#shell-scripting

3 posts
Development

Your Bash Script Has No Seatbelt: Write Safer Shell Scripts

It is 11:40 p.m. and you are proud of yourself. You wrote a tiny shell script to clean up old build folders on your server, tested it once, and scheduled it. Three weeks later a teammate asks why the...

2026.11.21 · 17 min read · views 357
Your Bash Script Has No Seatbelt: Write Safer Shell Scripts
Development

Stop Trusting Your Bash Script: Strict Mode That Saves Your Friday

It is 6:40 p.m. on a Friday, and the backup script you wrote months ago has just done something unforgivable. It was supposed to clean up an old directory. Instead, a variable was empty, and the comma...

2026.11.06 · 20 min read · views 936
Stop Trusting Your Bash Script: Strict Mode That Saves Your Friday
Development

Your Bash Script Failed Last Night. It Just Didn't Tell You.

It's 2 a.m. and your nightly backup script reports "success." Three weeks later you need the backup, and the folder is empty. The script never failed. It just kept going after `cd` quietly didn't work...

2026.10.02 · 11 min read · views 2,150
Your Bash Script Failed Last Night. It Just Didn't Tell You.