DEV Community

#shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
How I Automated My GitHub Contributions Using Bash (And the Hidden Traps I Solved Along the Way)

How I Automated My GitHub Contributions Using Bash (And the Hidden Traps I Solved Along the Way)

Comments 1
2 min read
Your Coding Agent's sed -i Works on Linux and Breaks on macOS. BSD vs GNU sed, Explained

Your Coding Agent's sed -i Works on Linux and Breaks on macOS. BSD vs GNU sed, Explained

3
Comments 2
8 min read
I taught my shell to stop me *before* I run `rm -rf /`

I taught my shell to stop me *before* I run `rm -rf /`

1
Comments
3 min read
AWK Command in Linux: Beginner’s Guide with Examples

AWK Command in Linux: Beginner’s Guide with Examples

1
Comments
7 min read
The AI-written shell script that ran from the wrong folder and exited 0: `set -euo pipefail`, and where it still won't save you

The AI-written shell script that ran from the wrong folder and exited 0: `set -euo pipefail`, and where it still won't save you

Comments 1
2 min read
A little-known Linux feature - Process Substitution

A little-known Linux feature - Process Substitution

5
Comments
3 min read
Ctrl-C won't stop a bash loop if the program inside it catches the signal

Ctrl-C won't stop a bash loop if the program inside it catches the signal

12
Comments
8 min read
I Test Every Terminal Claim Before I Publish It

I Test Every Terminal Claim Before I Publish It

Comments
2 min read
PowerShell completions installed by Scoop

PowerShell completions installed by Scoop

2
Comments
4 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
C shell - Rethought and reimplementation on functions

C shell - Rethought and reimplementation on functions

Comments
1 min read
One-line control structure parsing

One-line control structure parsing

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

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

Comments
4 min read
Would you run `curl | sudo bash`? I taught my shell-command explainer to flag the scary parts

Would you run `curl | sudo bash`? I taught my shell-command explainer to flag the scary parts

1
Comments
3 min read
The Morning My cron Jobs Went Silent: A 97-Line Script That Migrated Everything to launchd

The Morning My cron Jobs Went Silent: A 97-Line Script That Migrated Everything to launchd

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