LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-28-2003, 06:32 AM   #1
AlvinK
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
script to allow for logging-in dabash Linux - Newbie 3 12-29-2006 03:15 PM
how can I tell snort is running and logging alerts? nickbrico Linux - Security 2 03-18-2004 04:55 PM
Script when Logging in jrpretz Linux - General 1 11-18-2003 09:53 AM
syslog running but not logging tantric Linux - Security 1 10-15-2003 07:24 AM
running a script automatically when Logging out? hamster Linux - General 2 06-03-2003 08:49 PM


All times are GMT -5. The time now is 07:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration