title: How to display the first line that contains a certain string in a text file unix?
body: <p>Was hoping someone can help out with this. I am trying to figure out how to display the first line that contains a certain string i.e. "computer" (first occurrence of "computer" in a txt file).  I would prefer to do this using grep.</p>
  
  <p>I know <code>grep "computer" somefile.txt</code></p>
  
  <p>would display all of the lines including "computer".
  I am eager to learn and if anyone has alternative ways I would like to hear!</p>
  
  <p>Thx everyone</p>