> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/linux/grep/grep-exact-match.md).

# Grep Exact Match

To only display the exact match, use the `-w` option with grep pattern.

## Example

```bash
ip a | grep -w inet
```

***Source:*** [***StackOverFlow***](https://stackoverflow.com/a/19576374)
