Name

screen

Synopsis

    screen [options] [command [args]]

Provide ANSI/VT100 terminal emulation, making it possible to run multiple full-screen pseudo-terminals from one real terminal, and letting you manipulate and save your screen input and output, copy and paste between windows, etc. Solaris does not have screen, but you can download and build it.

URL: http://www.gnu.org/software/screen.

Options

-a

Include all capabilities in each window’s termcap.

-A

Adapt all windows to the size of the current terminal. Default is to try to use the previous window size.

-c file

Use file as the configuration file instead of the default $HOME/.screenrc.

-d

Detach session running elsewhere. With -r, reattach to this terminal. With -R, reattach to this terminal or create it if it doesn’t already exist. With -RR, use the first session when reattaching if more than one session is available. With -m, start in detached mode.

-D

Detach session running elsewhere, logging out before detaching. With -r, reattach to this terminal. With -R, reattach to this terminal or create it if it doesn’t already exist. With -RR, do whatever is necessary to create a new session. With -m, start in detached mode, but don’t fork a new process.

-e xy

Change command characters. Specify x as the command character (default CTRL-A) and y as the character that generates a literal command character (default a). Specify in caret notation (e.g., ^A for CTRL-A).

-f, -fn, -fa

Turn flow control on, off, or to automatic switching mode.

-h

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.