How do I find files not containing some text on Linux? Basically I’m looking for the inverse of the following
find . -print | xargs grep -iL "somestring"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The command you quote, ironically enough does exactly what you describe.
Test it!
Says a only.
I think you may be confusing -L and -l
is the inverse of
By the way, consider
Or even