title: Linux: how to queue some jobs in the background?
body: <p>Here is the functionality I am looking for (and haven't quite found):</p>
  
  <p>I have x processes that I want to run sequentially. Some of them could be quite time consuming.</p>
  
  <p>I want these processes to run in the background of my shell.</p>
  
  <p>I know about nohup, but it doesn't seem to work perfectly...assuming job1 is a time consuming job, if I ctrl+c out of the blank line that I get after doing nohup job1 &amp;&amp; job2 &amp;&amp; job3 &amp;, then job2 and job3 won't run, and job1 might or might not run depending on how long I let nohup run.</p>
  
  <p>Is there a way to get the functionality I want? I am ssh'ed into a linux server. For bonus points, I'd love it if the jobs that I queued up would continue running even if I closed my connection.</p>
  
  <p>Thanks for your help.</p>
  
  <p>EDIT: A small addendum to the question: if I have a shell script with three exec statements</p>
  
  <p>exec BIGTHING
  exec smallthing
  exec smallthing</p>
  
  <p>will it definitely be sequential? And is there a way to wrap those all into one exec line to get the equivalent functionality?</p>
  
  <p>ie exec BIGTHING &amp; smallthing &amp; smallthing or &amp;&amp; or somesuch</p>