grep two lines after match code example
Example 1: grep two lines together
$ grep -e sweet -e lemon file_type
This is a sweet
lemon.
Example 2: grep third line after match
Include -A flag to add lines after match
grep match -A 3 #display match line and 3 after lines