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 5 title tmp.html | grep/egrep/fgrepコマンドのすべて【具体例編】 - Qiita : http://qiita.com/kenju/items/a73a3610011391eee252 | |
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 |