Hotkey | Description |
---|---|
ctrl-a c | create new window |
ctrl-a A | set window name |
ctrl-a w | show all windows |
ctrl-a <n> | switch to window n |
ctrl-a " | choose window |
ctrl-a ctrl-a | switch between windows |
ctrl-a d | detach window |
ctrl-a ? | help |
ctrl-a [ | start copy, move cursor to the copy location, press ENTER, select the chars, press ENTER to copy the selected characters to the buffer |
ctrl-a ] | paste from buffer |
Command | Description |
---|---|
screen -S <name> | Start a new named session |
screen -r <name> | Attach to a named session |
screen -ls | list all running screens |
screen -DR | list of detached screens |
screen -dRR | The ultimate attach: Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one. |
screen -dmS MySession | start a detached screen session |
Hotkey | Description |
---|---|
ctrl-a S | create split screen |
ctrl-a TAB | switch between split screens |
ctrl-a Q | Kill all regions but the current one. |
ctrl-a X | remove active window from split screen |
ctrl-a O | logout active window (disable output) |
ctrl-a I | login active window (enable output) |