Alta Messages 13 Reaction score 0 Thread starter Oct 15, 2009 #1 I have a bunch of files that I want to find the ones that do not contain a word. I think that I can use grep to do this but I am not sure. does anyone know how to do this?
I have a bunch of files that I want to find the ones that do not contain a word. I think that I can use grep to do this but I am not sure. does anyone know how to do this?
MikeH Messages 29 Reaction score 0 Oct 25, 2009 #2 Use the -v option to grep to invert the search results. grep -v "text" *