I have a (possibly dumb) question regarding SSH. If you start a process, say a perl script, in an SSH session, and then quit the session, does the perl script also terminate
Yes. , or does it continue running? The reason I ask this is
that I have had some odd experiences in this regard.
You can make it keep running by using nohup <command> & -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
On Friday 21 November 2003 01:20, John Lamb wrote:
I have a (possibly dumb) question regarding SSH. If you start a process, say a perl script, in an SSH session, and then quit the session, does the perl script also terminate [snip]
You can make it keep running by using
nohup <command> &
I also user screen quite often to run programs over connections I know I will leave or thoes that I know will drop. You can reconnect to a machine from another and tell screen to disconnect from it's current turminal and reconnect to yours as well. man screen... -- Marc Christensen http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=9502
participants (2)
-
John Lamb
-
Marc Christensen