DEV Community

#shell

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
wc -l Says 2, grep Says 3: A Missing Final Newline Drops the Last Clip From a while read Loop

wc -l Says 2, grep Says 3: A Missing Final Newline Drops the Last Clip From a while read Loop

Comments
7 min read
Your Agent's Shell Isn't Your Shell: 8 Differences That Break Its Commands

Your Agent's Shell Isn't Your Shell: 8 Differences That Break Its Commands

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

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

Comments
7 min read
AWK Remove Duplicates: Lines, Columns and CSV Rows

AWK Remove Duplicates: Lines, Columns and CSV Rows

Comments
6 min read
clip_08.mp4 Stopped My Bash Loop and the Script Still Exited 0: A Leading Zero Means Octal in Bash Arithmetic

clip_08.mp4 Stopped My Bash Loop and the Script Still Exited 0: A Leading Zero Means Octal in Bash Arithmetic

1
Comments
9 min read
Your Abandoned Repos Deserve an Ofrenda: Meet Graveshell

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission 👻🌼

Your Abandoned Repos Deserve an Ofrenda: Meet Graveshell

Comments
4 min read
AWK Cheat Sheet: Commands, Variables, Functions & One-Liners

AWK Cheat Sheet: Commands, Variables, Functions & One-Liners

Comments
9 min read
AWK Count Occurrences: Lines, Words, Characters & Values

AWK Count Occurrences: Lines, Words, Characters & Values

Comments
7 min read
Filenames with spaces (or newlines) breaking your find | xargs? Use -print0

Filenames with spaces (or newlines) breaking your find | xargs? Use -print0

Comments
2 min read
AWK Sum Column: Total, Average, Min, Max and Group By

AWK Sum Column: Total, Average, Min, Max and Group By

Comments
7 min read
AWK Field Separator: -F, FS and Multiple Delimiters

AWK Field Separator: -F, FS and Multiple Delimiters

Comments
7 min read
AWK Print Column: $1, $NF, Last Column and More

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

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