sed print from match to end of file code example
Example 1: 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
Example 2: sed print from match to end of file
For retrieving part from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file