title: Run one command after another, even if I suspend the first one (Ctrl-z)
body: <p>I know in bash I can run one command after another by separating them by semicolons, like</p>
  
  <pre><code>$ command1; command2
  </code></pre>
  
  <p>Or if I only want <code>command2</code> to run only if <code>command1</code> succeeds, using <code>&amp;&amp;</code>:</p>
  
  <pre><code>$ command1 &amp;&amp; command2
  </code></pre>
  
  <p>This works, but if I suspend <code>command1</code> using <code>Ctrl-z</code>, in the first case, it runs <code>command2</code> immediately, and in the second case, it doesn't run it at all.  How can I run commands in sequence, but still be able to suspend the first command, but not have the second run until I have restarted it (with <code>fg</code>) and it finishes?  I'd prefer something as simple to type as possible, as I would like to do this interactively.  Or maybe I just need to set an option somewhere.</p>
  
  <p>By the way, what is the proper term for what <code>Ctrl-z</code> does?</p>