Screen or GNU Screen is a terminal multiplexer. In other words, it means that you can start a screen session and then open any number of windows (virtual terminals). This does not contain all of screen's commands and options, read GNU's manual to see everything

Basics

Basics

Options/KeybindDescription
screen -S [name]Start a named session
ctrl+a ctrl+dDetach the current screen and go back to the terminal (screen session will stay running)
screen -ls or
screen -list
List all sessions
screen -r [name]Reattach to a screen (optionally by name)

Screens

KeybindDescription
ctrl+a cCreate a new screen tab inside a screen
ctrl+a [0-9]Switch to a screen tab by number 0 through 9
ctrl+a nGo to the next screen tab
ctrl+a pGo to the previous screen tab
ctrl+a kKill current screen tab
ctrl+a EscEnter scrollback mode (PgUp/PgDn or arrows to scroll)

Visual pleasure

KeybindDescription
ctrl+a SSplit a screen horizontally
ctrl+a |Split a screen vertically
ctrl+a ctrl+I or
ctrl+a tab
Change screen split
ctrl+a QRemove all screen splits
ctrl+a CClear the current screen tab

Accessibility

KeybindDescription
ctrl+a ARename current screen tab
ctrl+a kKill current screen tab
ctrl+a ctrl+aSwitch to last used screen tab
ctrl+a aSend ctrl+a to current screen tab
ctrl+a ctrl+wSee a list of all screen tabs in the current screen
0 Comments for this cheatsheet. Write yours!