Help
^a | Control + a |
^a ? | Help |
Getting in
screen -S <name> | Create a new screen session |
screen -ls or screen -list | list running screens |
screen -r or screen -x | attach to running sessions |
screen -r <name> | attach to running session with name |
screen -dRR <name> | attach to screen session, deattach if attached elsewhere, if not exist creates one |
Getting out
screen -d <name> | detach a running screen |
^a d | detach |
^a D D | detach and logout |
^a : quit | exit screen, or exit all program on screen |
Window Management
^a c | create new window |
^a ^a | change to last-visited active window |
^a <number> | change to window by number |
^a ' <number or title> | change to window by number or name |
^a p | change to previous window in list |
^a n | change to next window in list |
^a " | see window list |
^a w | show window bar |
^a k | kill current window |
^a \ | kill all windows |
^a A | rename window |
Split screen
^a S | split horizontal |
^a | | split vertical |
^a tab | jump to next region |
^a X | remove current region |
^a Q | removal all reqion |
^a : layout save default | save current layout |
Split screen using layout
layout new | |
split | |
split -v | |
screen 0 | |
focus next | |
focus prev | |
focus left | |
focus right | |
screen 1 | |
focus up | |
focus bottom | |
screen 2 | |
detach |
Misc
^a ^l | redraw window |
^a [ | enter copy mode |
enter | selection on mode copy |
^a ] | paste |
^a M | monitor window for activity |
^a _ | monitor window for silence |
^a ^v | enter digrph non ascii char |
^a : | enter screen command |
^a x | lock password |
^a H | enter digraph non ascii char |