HOW TO : Use grep to exclude a pattern

If you want to search a file and show all the lines that don’t match a particular pattern, you an use the following option in grep

grep -v "PATTERN" fileName