How do I find out the files in the current directory which do not contain the word foo (using grep)?
foo
grep
another alternative when grep doesn't have the -L option (IBM AIX for example), with nothing but grep and the shell :
for file in * ; do grep -q 'my_pattern' $file || echo $file ; done