title: Using find and grep in linux command line to search for files with a specific user and text content?
body: <p>I am trying to find a file that belongs to a specific user, that also contains a specific string of text.
  For example, I want to find a file that belongs to the root user, and contains the text "hello there".</p>
  
  <p>I know I can search for text in files using grep for example:</p>
  
  <pre><code>grep -irl "hello there" /directory1
  </code></pre>
  
  <p>And, I know I can search for files owned by a user with specific extensions:</p>
  
  <pre><code>find -user root -name "*.txt"
  </code></pre>
  
  <p>Is there a way that I can combine these two commands?</p>