Continue running a script after logging out?
I'm extremely new to linux, so bear with me. I'm running Red Hat 9, and I have this perl script I wish to run. So I basically do a
perl script.pl
And now I want it to continue running after I log out. So I do a nohup and the & at the end.
nohup perl script.pl &
But the script terminates after I log out. Why is that?
For your info the script actually calls up SSH, logs in and sets up a port tunnel.
Help is much appreciated. Thanks.
|