Own/Disown a Bash Job?
May 14th, 2007
Bash provides the ability to “disown” a job, which is effectively the same as starting the job with nohup. My problem is that I’d like to reverse the “disown” decision and “own” the job again.
$ my --really --long --process
$ # Oh shit, I forgot to open screen beforehand :(
$ disown -h 1
$ screen
$ own <PID>
Is that even remotely possible? Does anyone else see a use for it?
...perhaps I should just get my act together and spawn a screen session via my .bashrc.
Leave a Reply