Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it?

It is fairly easy to disown a process, or make it run without a ttl, but is it possible to transfer to process to your own ttl?

note: by disown a process, i'm talking about running a command using nohup, or by running the disown builtin.

share|improve this question

marked as duplicate by mattdm Mar 18 '11 at 16:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

screen is very handy for this. Launch screen, launch the process inside screen, detach from screen. Then, screen -DR to resume.

share|improve this answer

Take a look at retty which finds the stdin, stdout and stderr of a process and attaches to them. However, you don't completely own the process like you did before so you can't send it signals.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.