We have moved to www.dataGenX.net, Keep Learning with us.

Saturday, August 17, 2013

Search the string in the file : Linux/Unix

Here, I am going to share a small shell utility which will ask source file name and the pattern which need to be searched in file and give the formatted output with the line no with line. You can select the no of lines which display before and after the string.