title: Grep for a string in file without using pipe
body: <p>I want to grep for a word in a file in the last n lines without using the pipe. </p>
  
  <pre><code>grep &lt;string&gt; filename
  </code></pre>
  
  <p>enables to search the filename for a string.  But, I want to search for a string in the last N lines of the file. Any command to search for that without using the pipe?  </p>