Linux on the screen after the tool is most useful in following the SSH remote access management tool. Usually, when we use SSH, if a program is running, you can not do anything else that even if the program is run in the background (sometimes found to be in the background, even though I used the command & background), but encountered When more than one program is a very troublesome thing. Moreover, if the net once off, it#%#!$. the screen is a good solution to this problem. Not only have to worry about broken network (off net after, screen still continue to run on the remote machine), and help us to switch between programs in the past, only SSH, rather just open a console, and can be opened with the screen is equal to N console.
Having the benefits of screen, next screen say how to use it. screen can create multiple session, each session can also create multiple window, each window can perform different procedures, with each other.
Established session, you can log in SSH, the direct typing screen you can create a session, and enter the session, you will find that you get a clean window (no information when you log a), then you have entered the The new session and creates a single window. Then you can then create a window, through the Ctrl + ac to create a new window. And then typing Ctrl + aw see all the session window. You can Ctrl + ap / n to select a window and on the next window, you can also ctrl + a id (id number on behalf of the window) to switch to the window you want to go. If only two windows is the easiest way to two consecutive type ctrl + a. So far, most of the time have to meet our needs. However, for some complex operations, for example, some systems when the session itself is a multiple windows open, then when we order not to affect the operation of the system, you can then create a new session, to do other operations. To create a new session, first of all to quit the original session, by ctrl + ad out of the session detatch, attention detatch not kill, the session is still running all the programs continue to run on the remote machine, and is not affected . When we detatch, you return to the original console interface, then we can re-typing to create a new screen session. Knockin screen-ls can see there are a few session, and you attach the current session is in state, while the other session is in the detach state. If you want to enter the other session, you must first detach the current session, then screen-r [session id] to the specified session.
Basically, the main function has been covered, while if you want to continue in-depth, will depend on the man or Ctrl + a? To view help.