Thursday, July 1, 2010

interesting command in linux, nohup a posteriori

i found today this interesting command: i think it works like "nohup" if it's used with the option -h

taken from an excellent linux guide:

disown
disown [options] [jobIDs]
Let job run, but disassociate it from the shell. By default, do not even list the job as an active job; commands like jobs and fg will no longer recognize it. When -h is specified, the job is recognized but simply is kept from being killed when the shell dies.

Options

-a
Act on all jobs.
-h
Do not pass a SIGHUP signal received by the shell on to the job.

No comments:

Post a Comment

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...