title: Bash executing multiple commands in background in same line
body: <p>When i try to execute</p>
  
  <pre><code>-bash-3.2$ cd /scratch/;nohup sh xyz.sh&gt;&gt;del.txt &amp;;exit
  </code></pre>
  
  <p>I am getting following error..</p>
  
  <blockquote>
    <p>-bash: syntax error near unexpected token `;'</p>
  </blockquote>
  
  <p>I am trying to run a detached process using nohup .. &amp; . ';' works fine for all other commands except <code>nohup sh xyz.sh&gt;&gt;del.txt &amp;;</code></p>
  
  <p>can anyone tell the problem here . Thanks</p>