title: How to join multiple processes in shell?
body: <p>So I've made a small c++ binary to connect to do a command on a server to stress test it, so i started working on the following shell script:</p>
  
  <pre><code>#!/bin/bash
  
  for ((  i = 0 ;  i &lt;= 15;  i++  ))
  do
     ./mycppbinary test 1 &amp;
  done
  </code></pre>
  
  <p>Now, I also happen to want to time how long all the processes take to execute. I suppose I'll have to do a time command on each of these processes?</p>
  
  <p>Is it possible to join those processes, as if they're a thread?</p>