Ubuntu, Unix, etc, – how to view files and folders with a certain text string?

Here is a handy command to find files and folders that contain a specific string of text:


find /home | xargs grep “Hello World”

The above command will look for any instance of the string “Hello World” (without quotes) within all files and folders within the /home/ directory recursively.