Let's say I've ssh'd into my box and decided to run a long job, but have forgotten to run that job inside screen. Is there anything I can do to stop the job from terminating when the ssh session closes, after the job has already been started?
You can background ctrl-z the process so it will have a jobspec and then disown job spec. Then the job is no longer attached the terminal so when you exit the job continues.
-
I am assuming your shell is bash. If not something equivalent may still exist. – johnshen64 Apr 27 '12 at 4:05
-