title: How to redirect output to a file and stdout
body: <p>In bash, calling <code>foo</code> would display any output from that command on the stdout.</p>
  
  <p>Calling <code>foo &gt; output</code> would redirect any output from that command to the file specified (in this case 'output').</p>
  
  <p>Is there a way to redirect output to a file <em>and</em> have it display on stdout?</p>