How do you delete all lines in a file that begin with \"string\" in sh? I was thinking about using the sed command.
sed and grep in your answers are missing their friend awk:
awk '!/^string/' inputfile > resultfile