2

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

  • You can post the solution as an answer to your own question. – Matteo Oct 5 '12 at 11:24
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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