tag:blogger.com,1999:blog-1255024703457423340.post117578051144571260..comments2024-03-13T13:54:48.044+05:30Comments on The UNIX School: 7 examples to print few lines before a pattern match in LinuxGuru Prasadhttp://www.blogger.com/profile/07898245472802947101noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1255024703457423340.post-1734839032547394482012-08-14T18:00:02.806+05:302012-08-14T18:00:02.806+05:30Quite useful. On grep you can also use -Context to...Quite useful. On grep you can also use -Context to print lines around matching. I have discussed this on my post <a href="http://javarevisited.blogspot.com/2011/06/10-examples-of-grep-command-in-unix-and.html" rel="nofollow">10 example of grep command in Unix </a> you may find useful.<br /><br />Javinjavin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.com