title: Redirecting grep output to file
body: <p>If I execute</p>
  
  <pre><code>$ java -jar selenium-server.jar 2&gt;&amp;1 | grep "jetty.Server" 
  </code></pre>
  
  <p>I get, after a while, the output I expect:</p>
  
  <pre><code>$ 16:30:24.881 INFO - Started org.openqa.jetty.jetty.Server@6b0a2d64
  </code></pre>
  
  <p>But I i try to redirect grep output to a file, it doesn't write a thing</p>
  
  <pre><code>$ java -jar selenium-server.jar 2&gt;&amp;1 | grep "jetty.Server" &gt; /tmp/ebook_selenium
  </code></pre>
  
  <p>Any idea why? Thanks</p>