menu
CODER
LEGION
GitHub Login
Twitter Login
Login
Sign Up
search
Log In
account_circle
Welcome to
Coder Legion
Connect with 4,746 amazing developers
Email or Username
Password
Forgot your password?
Remember
Log In
Don't have an account?
Sign up
OR
New Post
Home
Tags
Launches
Videos
Discussions
Series
Groups
Jobs
Developers
Users
More
Bash Snippets Pages
Bash Snippets Pages
BashSnippets
•
15 posts
•
Since May 20, 2026
Posts
arrow_downward
Newest First
Part 1
My Nginx Died at 2 AM and Nobody Noticed for 6 Hours. Now I Have a Watchdog Script
May 21, 2026
Part 2
Your Server Is at 97% CPU Right Now. Would You Know?
May 22, 2026
Part 3
The Simplest Automated Backup That Actually Works (6 Lines of Bash)
May 26, 2026
Part 4
I Alias This One-Liner to 'mktoday' and Use It Every Single Week
May 28, 2026
Part 5
set -euo pipefail — the Line That Would Have Saved Me from Deleting the Wrong Directory
Jun 3, 2026
Part 6
certbot had been auto-renewing my certs for two years. Until it wasn't.
Jun 7, 2026
Part 7
I was handed a server with no docs and no idea what it was listening on. One command fixed that.
Jun 8, 2026
Part 8
The Pipeline Was Green for Three Weeks. It Had Been Shipping a Build That Never Compiled.
Jun 12, 2026
Part 9
A for Loop Skipped 23 Files and Called It a Successful Backup
Jun 14, 2026
Part 10
A For Loop Skipped Every File With a Space and Called the Backup a Success
Jun 18, 2026
Part 11
The Alert Never Fired Because the Loop Skipped the Last Line of the File
Jun 19, 2026
Part 12
A Function Without local Overwrote My Variable and rm -rf Deleted the Wrong Directory
Jun 21, 2026
Part 13
# A Cron Job Took Our Server to Load 41 by Attacking Itself
Jun 22, 2026
Part 14
# My Backup Hadn't Run in 9 Days and Nothing Told Me
Jun 25, 2026
Part 15
I Spent 40 Minutes at 11pm Debugging a Deploy That Wasn't Broken
Jul 1, 2026
chevron_left