title: Unix: Grep on console output
body: <p>This is my first question on stackoverflow!
  I want to have a unix script that will run grep on the console output. Here is what my script does:
  1. Telnet into a remote server (I have done this part successfully)
  2. On successful login, the remote server displays outputs information on the console. I need to run grep on that console output (need help with this)</p>
  
  <p>So, I need a script to run grep on the output appearing on the console.</p>
  
  <p>Any thoughts??</p>
  
  <p>Thanks,
  Puneet</p>