title: linux terminal: how to copy output to a file and print at terminal simultaneously?
body: <p>I would like to save output from command to a file and observe it on ubuntu terminal at once.</p>
  
  <p><strong>Using basic:</strong></p>
  
  <pre><code>command &gt;output.txt
  </code></pre>
  
  <p>It's not working, because the terminal shows nothing.</p>
  
  <p>Is it possible to see the output in both file and in terminal window?</p>