My Doubt is how to get the next 4 lines If I already know the 1st line.
That means,
bash-2.03$ grep -i "abc" /tmp/us1.txt
abc : 904015467
I will get the above result if I grep for the "abc" in my file.
but I am getting only "abc" content line.But I need next 5 lines after that.
That means if the abc : 904015467 is there in the 2nd line,I need to get 3rd to 8th line.