title: How can I keep running a unix program in the background even if I log out?
body: <p>I want to run a Perl script with some while(1) loop in the background on a unix machine until I kill it.</p>
  
  <p>This is a remote computer to which I don't have administrative permissions (so for some reason, I can't use Daemon::Generic::While1), I log to it through SSH, and I want it to continue to run after I log out.</p>
  
  <p>One way I found out is write something like this to bash:</p>
  
  <pre><code>nohup ./my_script.pl &amp;
  </code></pre>
  
  <p>Is there some other, more preferable way to do it?</p>
  
  <p>Editing the crontab is forbidden on that computer (while running background and long-lasting processes isn't).</p>