Skip to main content

Command Palette

Search for a command to run...

grep

Published
1 min read

-w: match whole word

-i: ignore case

-v: match doesn't contain

-n: show line number

-o: only show part that exactly matches

-A n: n lines after the occurrence

-B n: n lines before the occurrence

-C n: both n lines before and after

-E: use regular expression

-c: show matched line count

-r: recursive search, usually for folder