Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-28-2003, 07:32 AM   #1
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


And now I want it to continue running after I log out. So I do a nohup and the & at the end.

nohup perl &

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.


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 04:15 PM
how can I tell snort is running and logging alerts? nickbrico Linux - Security 2 03-18-2004 05:55 PM
Script when Logging in jrpretz Linux - General 1 11-18-2003 10:53 AM
syslog running but not logging tantric Linux - Security 1 10-15-2003 08:24 AM
running a script automatically when Logging out? hamster Linux - General 2 06-03-2003 09:49 PM

All times are GMT -5. The time now is 06:50 PM.

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