---
type: link
tags: [command, linux, terminal, awk]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-01-02T01:39:32.364Z
---# Print lines between two patterns.

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

awk | Print lines between two patterns. awk '/start_pattern/,/end_pattern/' file.txt


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