To remove all lines up to and including a keyword from a file simply use sed as follows:
sed '1,/keyword/d' infile > outfile
(replacing keyword/infile/outfile with the relevant data)
Tags: edit, remove, sedTo remove all lines up to and including a keyword from a file simply use sed as follows:
sed '1,/keyword/d' infile > outfile
(replacing keyword/infile/outfile with the relevant data)
Tags: edit, remove, sedYou cannot comment on this entry