Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep all lines after first match

For grepping all lines from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file
 
PREVIOUS NEXT
Tagged: #grep #lines #match
ADD COMMENT
Topic
Name
6+1 =