Skip to content

Glossary: Logs and Data Sources for Investigations

grep

Also written: grep -oE, grep -c, grep -F, grep -i

A Linux command that keeps only the lines containing a pattern. -oE prints only the regex match, -c counts matches per file, -F treats the pattern as plain text, and -i ignores case.

Where the book teaches it

Related terms

Regular expression (regex)awkzgrepLog parsing