title: grep command for last nth line
body: <p>I have a grep command returns more than 20 lines. I need to display the 4th line from last line of the grep result,</p>
  
  <p>lets say my file has below data,</p>
  
  <p>test.txt  </p>
  
  <pre><code>one  
  two  
  three  
  four  
  five  
  six  
  seven  
  eight  
  nine  
  ten  
  </code></pre>
  
  <p>Task is : </p>
  
  <pre><code>grep "nine" test.txt // i want seven as result 
  </code></pre>
  
  <p>Can someone please help me with this ?</p>