Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a long-running process that was started in bash terminal on Debian. Unfortunately it wasn't started inside screen.
Is there a way to disconnect this process from current console and connect to it from screen?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Unfortunately, you won't be able to transfer ownership.

If all you want is to keep the process active while log out (and you're using bash), suspend the process with ^Z, then "disown -h" to release it from your shell.

share|improve this answer
    
So will it be running in background? –  Wojtek May 9 '11 at 12:14
    
Yes, but you will be unable to attach to it if you kill your current shell. –  Tzarium May 9 '11 at 12:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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