Saturday, June 25, 2016

Searching Word in Files

The command that I bring today is quite useful if you want to search for a specific word or term in several or even thousands of files.
find <directory> | xargs grep -s -a -i <word> | uniq

No comments:

Post a Comment