title: Bash alias query
body: <p>How can I turn the following command into a bash alias?</p>
  
  <pre><code>find . -name '*.php' | xargs grep --color -n 'search term'
  </code></pre>
  
  <p>Where I can specify the file extension and 'search term' is obviously the search term :)</p>
  
  <p>So what I want to do is:</p>
  
  <pre><code> searchFiles 'php' 'search term'
  </code></pre>
  
  <p>How do I pass the input into the alias? Should I just create a bash script and have the alias point to the script?</p>