Screen
Basics
CTRL+a c
: New terminalCTRL+a SPACE
: next terminalCTRL+a BACKSPACE
: previous terminalCTRL+a [x]
: Switch to x'th terminalCTRL+a "
: Switch between terminals using the list.
Splitting
CTRL+a |
: Split verticallyCTRL+a S
: Split horizontallyCTRL+a Q
: UnsplitCTRL+a TAB
: Switch between splits
Screen sharing
Screen can be (misused) to share a terminal between multiple users on a host. For that to work one user has to initate a screen session and share (e.g. the session name) with the other users.
The following example creates a session with the name shared and another user then connects to it.
# create session and login
user1> screen -L -S shared
# create to session with different user
user2> screen -x shared
Alternative: byobu
, tmux
.