Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep third line after match

Include -A flag to add lines after match
grep match -A 3	#display match line and 3 after lines
 
PREVIOUS NEXT
Tagged: #grep #line #match
ADD COMMENT
Topic
Name
4+6 =