LinuxQuestions.org
Visit the LQ Articles and Editorials 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 12-11-2004, 09:05 AM   #1
LQYY
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
cannot exit normally after "nohup blablabla > output.txt &"


I have been using "ssh myname@xxx.xxx.xxx.xxx" to connect my computer servers and sumbitting jobs by "nohup blablabla > output.txt &". However, after this, I can't exit to my original shell. Recently, I found this more and more annoying. I wonder if some server-side or local setup can solve this problem. Thanks!

YY
 
Old 12-14-2004, 10:02 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
if you put the commands in a script, you may run the script from your ssh session with "at -f <script file> now"
you need to run atd on your server... atd will execute the script and you can even disconnect your session while the script keeps running

greetz,
.-=~ iluvatar ~=-.
 
  


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
Could someone please post "upgrade.txt"... tigerflag Slackware 2 06-27-2004 04:52 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM
Creating a file like "DATE.txt" parker Programming 4 03-10-2004 04:44 AM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 08:53 AM
what does this "startx > output 2>&1" mean? whepin Linux - General 1 12-30-2001 09:19 AM


All times are GMT -5. The time now is 03:11 AM.

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