find everything except something using grep
the -v switch is used to return negative results. So, to find everything which does not contain “findme” use
cat filename | grep -v "findme"
Tags: find text, grep
This entry was posted
on Monday, September 28th, 2009 at 11:35 pm and is filed under Unix.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.