#bash

6 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

The Cron Job That Failed for Six Days and Told Nobody

It is 9:15 on a Monday morning. A teammate asks why the weekly report is still showing last Tuesday's numbers. You open the server, and there it is: the cron job that builds the report has not worked...

2026.10.21 · 16 min read · views 733
The Cron Job That Failed for Six Days and Told Nobody
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.
Development

The Script Works. Cron Just Refuses to Run It.

It is 9:07 a.m. and the report that should have been in your inbox at 6:00 is not there. You SSH into the server, run the script by hand, and it works perfectly — output, exit code zero, everything. Y...

2026.08.29 · 20 min read · views 1,440
The Script Works. Cron Just Refuses to Run It.
Development

Cron Jobs, Explained: How to Schedule Tasks on Linux Without the Guesswork

It usually starts with a small, forgettable task. You write a script that backs up a folder, or clears out old log files, or emails yourself a summary. It works beautifully — the first time, when you ...

2026.07.18 · 16 min read · views 2,985
Cron Jobs, Explained: How to Schedule Tasks on Linux Without the Guesswork