How do I find out the files in the current directory which do not contain the word foo
(using grep
)?
17 s
If your grep has the -L
(or --files-without-match
) option:
$ grep -L "foo" *