15
7
Possible Duplicates:
Keep a program running after closing a console, after the program has started
How can I use ssh to run a command on a remote Unix machine and exit before the command completes?
Hi!
I want to run program from my notebook by SSH-connection to remote server. The problem is I am going home with my notebook :)
How to keep program running?
5Incidentally, screen will keep running if your connection times out or anything like that while you're still attached to it.
Some useful commands: ctrl + a, ctrl + d = detach from screen, screen -r = re-attach to a screen, screen -x = attach to a screen in shared mode (can be used for teaching etc, two users can share the same screen), ctrl + a, esc = enter scroll mode (hit q to exit again).
NOTE: If you start a screen by typing "screen program" it will immediately launch the program in screen, but if it exits you'll lose the buffer. Typing just "screen" will give you a persistent terminal. – None – 2010-04-25T13:23:46.420
Chris, also tnx for usefull answer. – None – 2010-04-25T13:24:11.007