DEV Community

Bash

Bourne Again Shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
find -mtime +30 Kept a File That Was 30.5 Days Old. I Checked With touch -d.

find -mtime +30 Kept a File That Was 30.5 Days Old. I Checked With touch -d.

Comments
4 min read
The 3 AM Restart: A 25-Line Watchdog a Free Model Wrote for My Free Server

The 3 AM Restart: A 25-Line Watchdog a Free Model Wrote for My Free Server

Comments
5 min read
Stop Calling ccusage on Every Prompt: A 60-Second Cache Turns a Hook Into a Cost Sentry

Stop Calling ccusage on Every Prompt: A 60-Second Cache Turns a Hook Into a Cost Sentry

Comments
22 min read
Is curl | bash Safe? What qsa.sh Does Instead

Is curl | bash Safe? What qsa.sh Does Instead

Comments
4 min read
I Wanted "agy ." for Google Antigravity on WSL2 — So I Built "wagy"

I Wanted "agy ." for Google Antigravity on WSL2 — So I Built "wagy"

1
Comments
4 min read
How to Automate Git Add, Commit, and Push with a Bash Script

How to Automate Git Add, Commit, and Push with a Bash Script

1
Comments 1
2 min read
My Disk Check Prints WARNING at 88%. Cron Throws It Away Every Monday.

My Disk Check Prints WARNING at 88%. Cron Throws It Away Every Monday.

Comments
5 min read
Keep any long-running Python process alive on Linux for $0 (the /proc watchdog pattern)

Keep any long-running Python process alive on Linux for $0 (the /proc watchdog pattern)

Comments
5 min read
The Hard Part of Grading a Terminal Command: Why String Matching Doesn't Work

The Hard Part of Grading a Terminal Command: Why String Matching Doesn't Work

Comments
1 min read
Get a Telegram Notification Every Time Someone SSHes Into Your Server

Get a Telegram Notification Every Time Someone SSHes Into Your Server

1
Comments
4 min read
Cron Jobs Made Simple

Cron Jobs Made Simple

1
Comments
3 min read
A Command That Matched Zero Files Still Exits 0: How to Catch Silent CI Failures

A Command That Matched Zero Files Still Exits 0: How to Catch Silent CI Failures

1
Comments 1
3 min read
Automate Your Linux Updates Like a Pro (with Rollbacks!) 🚀

Automate Your Linux Updates Like a Pro (with Rollbacks!) 🚀

Comments
3 min read
Defensive Scripting with bash

Defensive Scripting with bash

5
Comments
6 min read
28 Hours of Green Logs, Zero Replies: How a Single `echo` Line Swallowed Every Exit Code

28 Hours of Green Logs, Zero Replies: How a Single `echo` Line Swallowed Every Exit Code

Comments
23 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.