Skip to content

1 or 2 credits, some free · 1 credit is about $1

pocketshelf

Bash Text Processing Cheat Sheet

A 2-page reference for grep, sed, awk, sort and friends: 16 short entries with copy-ready code.

ForDevelopers

bash-text-processing-cheat-sheet.pdfShowing 14 of 55 lines
// grep basics
grep -n "error" app.log
grep -v "debug" app.log
grep -E "warn|error" app.log

// grep with context
grep -C 2 "Exception" app.log

// Count matches
grep -c "404" access.log

// sed substitute
sed 's/old/new/g' file.txt
sed -i.bak 's/old/new/g' file.txt

What's inside

Format
PDF, Markdown
Contents
16 sections · 2 pages
Version
1.0 · Updated 3 Oct 2026
Licence
Commercial What this means
Checked
Checked before it ships
  • bash-text-processing-cheat-sheet.pdfPDF · 19 KB
  • bash-text-processing-cheat-sheet.mdMarkdown · 2 KB
  • LICENSE.txtadded to every download

About this item

A compact, printable reference for grep, sed, awk, sort and friends. Each of the 16 entries has a one-line explanation and a small example you can paste into your editor. The PDF uses a two-column A4 layout designed to sit next to your keyboard, and the same content ships as Markdown so you can search it or drop it into your notes. Every Bash example targets GNU coreutils.

  • Bash
  • Awk
  • Grep
  • Sed
  • Cheat sheet

Reviews

No reviews yet.

You might also grab