Wednesday, 27 June 2012

Prevent already runnig task from stoping after logout

First you need to send te task to the background, you can do this by pressing:
ctrl+z
and then typing:
bg
now you can list your background runnig tasks by issuing the command:
jobs
To prevent the job from stopping when you logout use the command
disown
and all your background jobs will be detached from your shell

Possibly Related Posts

2 comments:

  1. There's a typo: the right command is "disown" ;-)

    Best Regards,
    Andrea

    ReplyDelete
  2. Thanks Andrea, it's corrected now :)

    ReplyDelete