linux:grep
This is an old revision of the document!
Table of Contents
Grep
Show Additional Lines
show two lines above and two lines below the search term
grep -A 2 -B 2 my_search_term
Seach Directory
grep -rl "string" /path
Invert
Find anything NOT matching
grep -v stuffIdonotWant
linux/grep.1719081352.txt.gz · Last modified: by bstafford
