title: Simultaneous pipe to grep and redirect to stdout
body: <p>In Linux bash, I am trying to run a command and grep for an argument:</p>
  
  <pre><code>command | grep
  </code></pre>
  
  <p>However, I need to redirect the result of the <strong>commad</strong> to the stdout and simultaneously pipe it to grep (I need to see both the <strong>grep</strong> result and the <strong>command</strong> result in stdout). </p>
  
  <p>I googled a bit and tried some variations, such as:</p>
  
  <pre><code>command | tee /dev/tty | grep
  </code></pre>
  
  <p>But, no luck.</p>
  
  <p>I don't want to use sth like</p>
  
  <pre><code>command
  command | grep
  </code></pre>
  
  <p>as it is ugly :)</p>
  
  <p>Thanks,</p>