How do you delete all lines in a file that begin with "string" in sh? I was thinking about using the sed command.
grep -v '^string' yourfile.txt > stripped.txt
1.4m articles
1.4m replys
5 comments
57.0k users