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'm just wondering. Very often I want to quit shell connection. For example when I ssh to remote linux and after while want to turn off computer. If there is process running I can't turn my computer off because it would kill the process in current shell. Is there any way to wrap running shell into screen? Or any other solution for that problem? Like changing parent of the process.

I have found something like this: Use GNU screen as login "shell" Maybe there exists other solution?

Edit: ohhh... This seems like a solution http://monkeypatch.me/blog/move-a-running-process-to-a-new-screen-shell.html

share|improve this question
    
You can post the solution as an answer to your own question. –  Matteo Oct 5 '12 at 11:24
add comment

1 Answer

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.