title: print lines if $2<25 from text files with sed or awk
body: <p>I would like to <code>print $1 and $2 if $2&lt;25</code>from text files. I also need to get the total number of students with marks less than 25 from all files. How can I do this with awk or sed?</p>
  
  <pre><code>students  marks
  jerry     12
  peter     35
  john      5
  jerry     15
  john      10
  </code></pre>
  
  <p>Desired output</p>
  
  <pre><code>jerry    12
  john      5 
  jerry     15
  john      10
  
  Total no:of students :- 4
  </code></pre>