All categories
Add new FAQ
Question
Open questions
Login
Login
Tagged entries
1 search result
How do I remove all lines from a file up to a keyword?
To remove all lines up to and including a keyword from a file simply use sed as follows: sed '1,/keyword/d' infile ...
Tags
remove
edit
sed
Add Search Word