How to show surrounding lines around matches with grep for Linux
[ad_1] grep is a search utility for finding strings and patterns in files and console input. By default, it prints the line containing the match, but it is also useful to print the previous lines around a match by context. Print context for grep matches when you use grepyou can add the capitals -C flag … Read more