---
type: link
tags: [command, linux, terminal, awk]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T11:08:32.912966+00:00
---# Print lines matching a specific pattern.

**URL:** [https://www.gnu.org/software/gawk/manual/gawk.html](https://www.gnu.org/software/gawk/manual/gawk.html)

awk | Print lines matching a specific pattern. awk '/pattern/' file.txt


---
**Keywords:** command, linux, terminal, awk
