GNU Screen

Basics

ctrl a c
Cre­ate new win­dow
ctrl a A
Set win­dow name
ctrl a w
Show all win­dow
ctrl a 1|2|3|…
Switch to win­dow n
ctrl a ”
Choose win­dow
ctrl a ctrl a
Switch between win­dow
ctrl a d
Detach win­dow
ctrl a ?
Help
ctrl a [
Start copy, move cur­sor to the copy loca­tion, press ENTER, select the chars, press ENTER to copy the selected char­ac­ters to the buffer
ctrl a ]
Paste from buffer

How to start screen

screen –DR
List of detached screen
screen –r PID
Attach detached screen ses­sion
screen –dmS MySes­sion
Start a detached screen ses­sion
screen -S MySession
Start a new screen session with name MySession
screen –r MySes­sion
Attach screen ses­sion with name MySession

Advanced

ctrl a S
cre­ate split screen
ctrl a TAB
switch between split screens
If you cre­ated a new split screen, the cur­rent win­dow is empty. either select an exist­ing win­dow (ctrl a ”) or cre­ate a new split screen (ctrl a n).
ctrl a Q
Kill all regions but the cur­rent one.
ctrl a X
Remove active win­dow from split screen
ctrl a O
Logout active win­dow (dis­able out­put)
ctrl a I
Login active win­dow (enable output)

Adapted from Neophob.com post