title: Reusing output from last command in Bash
body: <p>Is the output of a Bash command stored in any register? E.g. something similar to <code>$?</code> capturing the output instead of the exit status.</p>
  
  <p>I could assign the output to a variable with: </p>
  
  <pre><code>output=$(command)
  </code></pre>
  
  <p>but that's more typing... </p>