title: How to grep from background process?
body: <p>I have a script, that runs an app.
  The app produces some output
  I need to grep from the output in order to verify it
  How can I accomplish this?</p>
  
  <p>For instance;</p>
  
  <p>script1.sh</p>
  
  <pre><code>    #!/bin/sh
  
      app1 &amp;
      app2
  
      ******
      Output:
      app1 -&gt; "App1"
      app2 -&gt; "APp2"
  </code></pre>