Say I'm printing out a long series of strings, and instead of only showing lines containing a certain pattern (which one uses grep to do), how do I filter out certain patterns?
What is the opposite of grep?
grep
You still use grep... with the -v option, which tells grep to print only those lines which do not match the pattern:grep -v pattern myfile 