DEV Community

#shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
2 min read
EADDRINUSE on macOS: find what holds the port, and stop it safely

EADDRINUSE on macOS: find what holds the port, and stop it safely

Comments
4 min read
find -mtime +7 Keeps Eight Days: Testing a Cleanup Job for a Folder of Camera Clips Before It Deletes

find -mtime +7 Keeps Eight Days: Testing a Cleanup Job for a Folder of Camera Clips Before It Deletes

Comments
9 min read
Find the API Keys in Your ~/.zsh_history With gitleaks, Then Stop Saving Them

Find the API Keys in Your ~/.zsh_history With gitleaks, Then Stop Saving Them

Comments
9 min read
I Built a Unix Shell from Scratch in C. Here's How It Works.

I Built a Unix Shell from Scratch in C. Here's How It Works.

1
Comments
13 min read
Word Counter for Writers: Counting Words, Characters and Reading Time in Python, Shell, and the Browser

Word Counter for Writers: Counting Words, Characters and Reading Time in Python, Shell, and the Browser

Comments 1
6 min read
I Built a Pure-Zsh Prompt Engine That Renders in 0.6ms (Without Rust or C++)

I Built a Pure-Zsh Prompt Engine That Renders in 0.6ms (Without Rust or C++)

Comments
5 min read
Bringing Caelestia Shell to Ubuntu-Based Distros Like Zorin OS

Bringing Caelestia Shell to Ubuntu-Based Distros Like Zorin OS

Comments
2 min read
set -e skips the lines you think it catches: eight behaviours measured on bash 3.2.57

set -e skips the lines you think it catches: eight behaviours measured on bash 3.2.57

Comments
14 min read
I tried building a shell in Rust

I tried building a shell in Rust

Comments
2 min read
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
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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.