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. screen allows you to detach from a running session without interrupting the processing, and reattach to it later.
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 [pid.tty.host]
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.
- -D [pid.tty.host]
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.
- -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., -e ^Pp to set Ctrl-p as the command character, which is useful for emacs-mode shell).
- -f, -fn, -fa
Turn flow control on, off, or to automatic-switching mode.
- -h num ...
Get Linux in a Nutshell, 6th 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.