title: How can I redirect the output of the "time" command?
body: <p>I tried to redirect the output of the time command, but I couldn't:</p>
  
  <pre><code>$time ls &gt; filename
  real    0m0.000s
  user    0m0.000s
  sys     0m0.000s
  </code></pre>
  
  <p>In the file I can see the output of the <code>ls</code> command, not that of <code>time</code>.
  Please explain, why I couldn't and how to do this.</p>