I have text file:
Line1 aaa
Line2 aaa
Line3 aaa
Line4 importan info about Linux
Line5 infoA
Line6 infoB
Line7
I would like to display line containing word "Linux" and two lines more.
Regarding first part is clear:
cat textfile.txt |grep Linux
But how to display two lines more?