# uniq — drop repeated neighboring lines

`uniq` — drop repeated neighboring lines.

## Example

```bash
sort names.txt | uniq
```

This site also runs the command in a browser terminal simulator, so the examples above
can be typed and executed without installing anything.

Source: https://zero2vibecode.com/commands/uniq
