Help:Screen
Jump to navigation
Jump to search
GNU Screen is a terminal multiplexer that allows multiple text terminals in one session, and allows connection and disconnection of sessions.
- Software homepage
- https://www.gnu.org/software/screen/
- Software availability
- unix
- Other related software
- tmux
- command to type to run
- screen
- screen -r
- View online documentation
- man screen
Additional notes[edit]
Screen as many features and is very customizable. Check the man page for screen for complete documentation.
Commands[edit]
- screen
- start a new screen session
- screen -ls
- list existing screen sessions
- screen -r
- resume a previous screen session
- screen -r prefix...'
- resume a specific session
- man screen
- view full documentation
Sample configuration file[edit]
By default, screen will terminate your session if it gets disconnected.
You can change this default by creating a file in your home directory called .screenrc
containing:
autodetach on
With this configuratino, if you get accidentally disconnected, you can reconnect on next login with the screen -r
command.
Commonly used keys[edit]
C-a means to hold the Ctrl key and press a
C-a C-a | switch between the last two windows |
C-a c | open a new window |
C-a h | show brief help (key list) |
C-a d | detach session |