Start a new session
screen
or
screen -S session_name
List session
screen -ls
Resume session
screen -r session_name
Detach session
screen -d session_name
Shortcuts
Ctrl+a c
Create a new window (with shell)
Ctrl+a "
List all window
Ctrl+a 0
Switch to window 0 (by number )
Ctrl+a A
Rename the current window
Ctrl+a S
Split current region horizontally into two regions
Ctrl+a |
Split current region vertically into two regions
Ctrl+a tab
Switch the input focus to the next region
Ctrl+a Ctrl+a
Toggle between the current and previous region
Ctrl+a Q
Close all regions but the current one
Ctrl+a X
Close the current region
Ctrl+a k
Kill the current window
Ctrl+a M
Show window monitor