grep -v "S T R I N G" file > /tmp/my_tmp_file && mv /tmp/my_tmp_file file