---
type: link
tags: [link]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T10:57:18.473053+00:00
---# sed — Print lines containing a specific pattern.

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

sed |Print lines containing a specific pattern. sed -n '/pattern/p' file.txt


---
**Keywords:** link
