Side of Screen

xiaoxiao2021-03-06  39

Roblimo's Take Console Productivity to a new level with screen, http://www.linux.com/Article.pl?sid=04/11/29/1651257 is not a complete translation, a bit random, not so pay more.

Screen is a software that is often underestimated, simply, is a text window manager under the terminal / console. According to Man Page, it is a tool for multiple processes to multiplex a physical terminal.

One of the most useful features of Screen is Detaching. This way you can let the process started from Screen in the background run, and you can quit from the original land. And you can log in to the shell, even SSH login, re-attach this Screen, returns to the original interactive interface, and operate.

The command screen will launch Screen, and a shell will start by the default. Each screen command consists of C-A and a few times. DETACHING is C-A, D, while Re-attach requires Screen -R plus some optional parameters, including the session owner, PID, TTY, and / or hosts.

One advantage of Screen is that you can have multiple windows in a session (SESSION), each processing is different, using C-A, c can open a window. SCREEN's multiple windows and the advantage of opening multiple xterm are that you can put them here Detach, and on another host, log in to SSH, re-attach, so you have a environment that you can carry .

C-A, 4 can cut to the fourth window; C-A, A can name the window; C-A 'and enter the name of the window, which window can be switched; C-a "can list each window.

Screen -dr can remotely detach a Screen session and re-attach to the current session.

Screen has other advanced features, such as multi-person at the same time attach, you can set the security level of the Screen session, plus passwords ...

转载请注明原文地址:https://www.9cbs.com/read-75834.html

New Post(0)