title: Run commands in parallel with clean output
body: <p>I'm writing a bash script to help manage a series of websites I work on. The script uses a CLI tool provided by our web host to query for a list of sites and then executes a given command on each one.</p>
  <p>I've tried using:</p>
  <pre><code>command 1 &amp; command 2 &amp; command 3 &amp; command 4
  </code></pre>
  <p>Which ultimately works fine. The problem I'm running into is that the CLI tool will output statuses as each command executes. These statuses are just appended to the bottom of my terminal window randomly, detached from their original context, and allows for terminal input in between, which makes it very hard to keep track of which command has finished, which is still running, and if anything is running.</p>
  <p>Is there any way to run this series of commands but keep the output of each command grouped, almost like a status screen, until all commands have finished running?</p>
  <p>I've seen other CLI tools do something similar where it shows status bars/info of a bunch of independent tasks at once but I'm not sure how this is accomplished.</p>
  <p>Thank you!</p>