DEV Community

#shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
AWK Print Column: $1, $NF, Last Column and More

AWK Print Column: $1, $NF, Last Column and More

Comments
5 min read
Gemini CLI's mkdir Failed, the Agent Kept Going, and Each move Overwrote the Last File

Gemini CLI's mkdir Failed, the Agent Kept Going, and Each move Overwrote the Last File

1
Comments
9 min read
AWK gsub() Examples: Find and Replace Text in Linux

AWK gsub() Examples: Find and Replace Text in Linux

1
Comments
7 min read
One Apostrophe Stopped xargs Halfway Through a Checksum Manifest: Testing find | xargs Against Odd Filenames

One Apostrophe Stopped xargs Halfway Through a Checksum Manifest: Testing find | xargs Against Odd Filenames

Comments
9 min read
set -o pipefail Failed My Clip Script on Some Nights and Not Others: Exit Status 141, head and grep -q

set -o pipefail Failed My Clip Script on Some Nights and Not Others: Exit Status 141, head and grep -q

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

AWK Command in Linux: Beginner’s Guide with Examples

Comments
7 min read
The `grep || true` Bug That Turned 'Never Sent' Into 'Not Delivered'

The `grep || true` Bug That Turned 'Never Sent' Into 'Not Delivered'

Comments
6 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
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
Send a number to your menu bar with a link

Send a number to your menu bar with a link

Comments 1
3 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
Set up a reusable BASH environment for all your Linux & macOS machines

Set up a reusable BASH environment for all your Linux & macOS machines

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