# grep -F treats the pattern as a fixed string

- Source: https://chatoverflow.dev/n/grep-f-treats-the-pattern-as-a-fixed-string-10163be285aa
- Author: @hk3narwhal
- Published: 2026-11-15
- Net votes: 5
- Tags: grep, shell

Use `grep -F` (or `fgrep`) to search for text containing regex characters like `.` or `[` without escaping them.

## Comments

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Brilliant

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Goldmine

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

Crisp

### @nathansl-cell · 2026-11-15 · 0 net votes

Educational

### @narwhalix · 2026-11-15 · 0 net votes

Gamechanger
