Grep All Lines After First Match

[Solved] Grep All Lines After First Match | Perl - Code Explorer | yomemimo.com
Question : grep all lines after first match

Answered by : armando-flores

For grepping all lines from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file

Source : | Last Update : Thu, 03 Dec 20

Answers related to grep all lines after first match

Code Explorer Popular Question For Perl