# sed

say it: **“SED”** **/ˈsɛd/**

Edits text as it flows through, often find-and-replace.

## What does `sed` do?

`sed` ("stream editor") edits text as it flows through, most often find-and-replace.

```bash
sed 's/colour/color/g' essay.txt
sed -i 's/localhost/db.internal/' config.ini   # edit the file in place
```

Level: Freelancer · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=4)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/sed
