title: How do I run this program in the background
body: <p>mysql -u scott-h machine.domain.com -p -D foo_db &lt; foo.sql</p>
  
  <p>If I add an ampersand at the end, it suspends the job. I want the flexibility to run this background so that this time consuming process doesn't end, even if I log out of the shell / machine which launched it.</p>
  
  <p>Should I be using nohup <code>enter code here</code>along with a <code>&amp;</code> at the end. How do I know if this job got completed?</p>