title: How can i read only third line from a file into a variable in shell script
body: <p>I am executing a shell script in which I run a sybase query which gives the O/P in a file .</p>
  
  <p>The Output is :-</p>
  
  <pre><code>            tablename
  
              ---------------------------
              result of query executed my case will be an integer returned
  
  
              (Number of rows effected ).
  </code></pre>
  
  <p>What i want to do is read <code>result of query executed which in my case will be an integer returned</code> into a variable in a shell script . It will be in 3rd line in the file in which i have redirected the Output of my Sybase Query .</p>
  
  <p>How can i do that ?</p>