Oct 18
$ sed -e ‘/STRING/d’ input > output.bak && mv output.bak input
So you search for the string in the input file, pipe is to output.bak, then rename output.bak back to input file…
$ sed -e ‘/STRING/d’ input > output.bak && mv output.bak input
So you search for the string in the input file, pipe is to output.bak, then rename output.bak back to input file…