Inverted grep results
If you want to your grep results to only show lines not matching the pattern use the
-v switch. You can also use
fgrep -v 127.0.0.1 file.log
The above prints lines from
file.log that do not contain
Like this? Follow me ↯Tweet Follow @pfreitag
Inverted grep results was first published on July 29, 2005.