DEV Community

Bash

Bourne Again Shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
12 Pitfalls I Hit Auto-Logging Claude Code Subagents with a Stop Hook (and How the Numbers Cut My Weekly Cost 15–20%)

12 Pitfalls I Hit Auto-Logging Claude Code Subagents with a Stop Hook (and How the Numbers Cut My Weekly Cost 15–20%)

1
Comments 3
19 min read
cronlock: stop overlapping cron jobs with flock (plus timeout and failure webhooks)

cronlock: stop overlapping cron jobs with flock (plus timeout and failure webhooks)

1
Comments 2
4 min read
Bash Said '-eq: unary operator expected'. The Script Still Exited 0.

Bash Said '-eq: unary operator expected'. The Script Still Exited 0.

1
Comments
4 min read
10 Terminal Productivity Tips That Actually Save Time

10 Terminal Productivity Tips That Actually Save Time

Comments
3 min read
Display graphics without the use of Wayland or XOrg

Display graphics without the use of Wayland or XOrg

Comments 1
5 min read
grep Found 5 Matches for a Hostname I Expected 3 Times. sed Would Have Rewritten All 5.

grep Found 5 Matches for a Hostname I Expected 3 Times. sed Would Have Rewritten All 5.

Comments
4 min read
5 Verbal Corrections Didn't Stick, So a 46-Line Stop Hook Made the Mistake Physically Impossible

5 Verbal Corrections Didn't Stick, So a 46-Line Stop Hook Made the Mistake Physically Impossible

1
Comments 1
21 min read
One quoted tilde in your .bashrc is an attacker-controlled PATH entry

One quoted tilde in your .bashrc is an attacker-controlled PATH entry

6
Comments 2
4 min read
30 Minutes Every Morning Lost to Re-Explaining Myself: The 20-Line Auto-Brief That Fixed It

30 Minutes Every Morning Lost to Re-Explaining Myself: The 20-Line Auto-Brief That Fixed It

1
Comments
24 min read
Bash Scripting: From Your First Script to Linux Automation

Bash Scripting: From Your First Script to Linux Automation

4
Comments 3
9 min read
Why DKMS says "Manual intervention is required!" (and how I fixed it upstream)

Why DKMS says "Manual intervention is required!" (and how I fixed it upstream)

Comments
9 min read
47GB of Compressed Memory and No Permission to Kill It: Handing a Monitoring Script Exactly One Root Command

47GB of Compressed Memory and No Permission to Kill It: Handing a Monitoring Script Exactly One Root Command

Comments 1
6 min read
aws-ecs-shell: stop rereading the ECS Exec docs before every intervention

aws-ecs-shell: stop rereading the ECS Exec docs before every intervention

1
Comments
4 min read
8 Fake ps Lines and One bash 3.2 Trap: Reaping Orphaned Chrome Without Killing the Browser You're Using

8 Fake ps Lines and One bash 3.2 Trap: Reaping Orphaned Chrome Without Killing the Browser You're Using

1
Comments
7 min read
24 Hours of Zero Posts: The 46GB Compressed-Memory Bomb That RSS Couldn't See

24 Hours of Zero Posts: The 46GB Compressed-Memory Bomb That RSS Couldn't See

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