GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

How to Keep Tasks Running When You Quit SSH

It would seem that bash has a slightly different way of marking a program as "nohup". Specifically, you must "disown" the task. You've got a few options for doing that:

1) Just make sure it doesn't get a SIGHUP
% disown -h {jobid}
where jobid is the number in your process list
2) Completely detach the process from your shell, (it no longer shows up in your job listing):
% disown {jobid}
3) Detach *every* process in your job list
% disown -a

There are some others - see 'man bash' for the details.

Mike
Wed, 04 Nov 2009 23:34:04 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 7 + 6?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

318 Users Online



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.