Delete all lines containing a string from a file in Bash The Problem How can I delete all lines containing a particular string from a text file using Bash?