---
type: link
tags: [public]
created: 2025-10-27T09:17:57.483Z
---# sed | Print lines between two patterns.

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

sed | Print lines between two patterns. sed -n '/start_pattern/,/end_pattern/p' file.txt


---
**Keywords:** public
