Can I grep a certain amount of lines before or after a string I want?
6434
grep a file, but show several surrounding lines?
150490
Using grep to find a string
23494
How to make  grep display only the matching regexp?
81426
How do I grep file paths out of a text file?
4941
Delete range of lines above pattern with sed (or awk)
40166
How can I extract a predetermined range of lines from a text file on Unix?
80204
How can I get a specific line from a file?
151275
grep. Find multiple AND patterns in any order using single condition
57165
How do I grep lines ending on a specific expression
154030
Regex: find whatever comes after one thing before another thing
50962
Reading grep patterns from a file
8298
How to find/grep what is between string1 and string2?
120998
grep'ping files for multiple strings (not necessarily on the same line)
4081
How can I extract records from a file if they include a specific set of strings?
50943
shell test whether multiple lines string contains specified pattern in last line
16874
Limit grep context to N characters on line
99368
Count how many lines start with which characters