How to search files for specific content

Simple linux command to search all files in a given path and display the line in the file which matches defined content. find <PATH> -print | xargs grep “<CONTENT>” or find <PATH> -type f -exec grep -H “<CONTENT>” \;