title: BASH: send SIGTSTP signal (ctrl+z)
body: <p>I'm rushing against the clock for a programming assignment in which I have to run a number of instances of the same program on the same machine at the same time.
  Currently, I'm starting the instances one at a time, pressing <strong>Ctrl+z</strong> to pause them, and then doing <strong>'bg %#</strong>' to resume execution in the background.</p>
  
  <p>This is extremely tedious and time consuming to do every time I need to test a small change in my application, so I want to write a bash script that will start the multiple instances for me, however I don't know how to do the background switching in a script.</p>
  
  <p>Can anybody please tell me how I can write a simple script that will start a long standing command, pause it, and resume it in the background?</p>
  
  <p>Thanks</p>