Download Markdown
Best for copying commands, snippets, and config into notes, prompts, or docs
Download MarkdownTools
Print-ready cheat sheet for AWK, organized for fast lookup, study, and desk-side use
Sample
awk '{ print }' file.txt # print every line
awk '{ print $1 }' file.txt # print first field
awk -F: '{ print $1 }' /etc/passwd # custom delimiter
awk -f script.awk file.txt # run from file
cmd | awk '{ print $2 }' # pipe input
awk 'pattern { action }' | Basic form — action runs when pattern matches |
BEGIN { ... } | Runs once before processing input |
END { ... } | Runs once after all input is processed |
No pattern | Action runs for every line |
No action | Default action is `{ print }` |
Download the full cheat sheet for all sections, formatted for print
Download PDFDownloads
Recommended
B&W, ink-efficient. The default for laser printers and photocopies
Best for Printouts and desk-side reference
Warm color accents for on-screen reading or color printers
Best for Screen reading or color printers
Maximum density, 4-column layout. Everything on one page
Best for Fast scanning and minimum paper use
Text formats
Download Markdown
Best for copying commands, snippets, and config into notes, prompts, or docs
Download MarkdownPreview
The web preview is for quick browsing. The PDF remains the authoritative print artifact
Open in Browser