---
type: link
tags: [link]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T11:06:22.125878+00:00
---# sed — Replace text in a file (in-place).

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

sed |Replace text in a file (in-place). sed -i 's/old_text/new_text/g' file.txt


---
**Keywords:** link
