Grep recursively for text

Here’s a unix command to search for lines containing a particular text in all the files recursively in the current directory:

find . | xargs grep text-to-find
Advertisements