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
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
RSS feed for comments on this post. TrackBack URL
Powered by WordPress
[...] . Older how to articles on my site related to this topic are here and [...]
Pingback by Kudithipudi.Org » Blog Archive » HOW TO : More examples of grep — May 6, 2009 @ 8:14 am