How to get extra context around search results from grep.

Using grep to find text strings is very useful. This may also be used to view extra text around the matches to get extra context. Use grep like this. grep -R -A 10 -B 10 ‘command arguments’ * 2>/dev/nullgrep -R -A 10 -B 10 ‘command arguments’ * 2>/dev/null This returns…

Read More