title: How to use `while true` with nohup?
body: <p>I would like to run a script on remote Ubuntu PC (AWS).</p>
  
  <pre><code>while true; do timeout 1h python worker.py --log-level=ERROR; done
  </code></pre>
  
  <p>works well, but when I add <code>nohup</code>:</p>
  
  <pre><code>nohup while true; do timeout 1h python worker.py --log-level=ERROR; done &amp;
  </code></pre>
  
  <p>it returns me the error <code>-bash: syntax error near unexpected token 'do'</code>. </p>
  
  <p>What is the right syntax?</p>