title: Show filename and line number in grep output
body: <p>I am trying to search my rails directory using grep. I am looking for a specific word and I want to grep to print out the file name and line number. </p>
  
  <p>Is there a grep flag that will do this for me? I have been trying to use a combination of <code>-n</code> and <code>-l</code> but these are either printing out the file names with no numbers or just dumping out a lot of text to the terminal which can't be easily read.</p>
  
  <p>ex:</p>
  
  <pre><code>  grep -ln "search" *
  </code></pre>
  
  <p>Do I need to pipe it to awk? </p>