Command option Sample:grep --context

Search command sample in the internet.It is the result.


grep --context option

grep --context 3 FAIL output.log    unix - Get specific lines from a text file - Stack Overflow : http://stackoverflow.com/questions/383633/get-specific-lines-from-a-text-file
grep --context 9999 'about' file-cats file-dogs file-goats     vgrep: A pager for grep : http://hackage.haskell.org/package/highlight
grep --context option allows us to print lines around matching pattern. Below example of grep command in UNIX will print 6 lines around matching line of word "successful" in logfile.txt    10 examples of grep command in UNIX and Linux : http://javarevisited.blogspot.com/2011/06/10-examples-of-grep-command-in-unix-and.html
grep --context option allows us to print lines around matching pattern. Below example of grep command in UNIX will print 6 lines around matching line of word    Practical Example of grep command in unix : http://www.slideshare.net/JavinPaul/practical-example-of-grep-command-in-unix