---
type: link
tags: [link]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T11:06:14.530245+00:00
---# sed —  Print specific lines by line numbers.

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

sed | Print specific lines by line numbers. sed -n '2,5p' file.txt


---
**Keywords:** link
