I'm trying to find a way to scan my entire Linux system for all files containing a specific string of text. Just to clarify, I'm looking for text within the file, not in the file name.
When I was looking …
I would like to grep for a string, but also show the preceding five lines and the following five lines as well as the matched line. How would I be able to do this?