Putty Telnet to Linux, the remote command also stops executing after the Putty session window is closed, and a screen program is required if you want the command to continue. If you do not have screen installed, install (Debian) with the following command:
1
Apt-get Install screen
Here's how:
1. Log in to the server with Putty, user name, password
2, input screen, give help tips, press space to skip
3. At this point, the program goes back to the command prompt, but the operation is recorded in screen. Run the program (it may take a long time). Hold down CTRL + A + D, at which point the window program disconnects from the Putty session and prompts:
1
2
3
There is a screens on:
27469.ttt-uuu (06/14/2012 10:10:58 AM) (Detached)
1 Socket IN/VAR/RUN/SCREEN/S-HELIXCN.
Closing the Putty window will have no effect on the result of the operation.
4. Once again telnet to Linux with Putty, run Screen-ls to display all running Windows.
5, to return to any previous dialogue window, just enter Screen-r 27469 (here 27469 in each session is a change), after entering the window, if you want to end the session, exit from the corresponding program, enter exit to exit the window, and return to the first sign-in status.
This article is from the "Soul Bucket" blog, please be sure to keep this source http://990487026.blog.51cto.com/10133282/1721544
Linux Screen Program