---
type: link
tags: [mine]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T10:50:20.265625+00:00
---# AWK Cheat Sheet

**URL:** [https://www.shortcutfoo.com/app/dojos/awk/cheatsheet](https://www.shortcutfoo.com/app/dojos/awk/cheatsheet)

AWK Cheat Sheet Designed by Alfred Aho, Peter Weinberger, and Brian Kernighan

## Links

- [Print lines based on a numeric condition. ](null)
- [Print lines matching a specific pattern.](null)
- [Print lines with a specific field length.](null)
- [Print lines with fields separated by a specific delimiter.](null)
- [Print first column](null)
- [Count and print unique values in a column. ](null)
- [Sum values in a specific column.](null)
- [First/last field with line number](null)
- [Filter lines with "error"](null)
- [Print specific columns from a file.](null)
- [Print the last field of each line.](null)
- [Sum a column](null)
- [awk man page](https://linuxcommand.org/lc3_man_pages/awk1.html)
- [Print lines between two patterns.](null)
- [Unique values in column 1](null)
- [Calculate the average of values in a column.](null)
- [awk man page [from awk man page]](https://linuxcommand.org/lc3_man_pages/awk1.html)


---
**Keywords:** mine
