Home » Questions » Computers [ Ask a new question ]

Finding files that do not have a particular line

Finding files that do not have a particular line

The following command lists all files (with lines) that have the mentioned line:

Asked by: Guest | Views: 33
Total answers/comments: 1
Guest [Entry]

"Use the -L option:

-L, --files-without-match
Suppress normal output; instead print the name of each input
file from which no output would normally have been printed. The
scanning will stop on the first match."