Screen / Tmux
Enable Javascript to display Table of Contents.
Launching Screen/Tmux
Before launching:
| Screen Command |
Tmux Command |
Description |
| screen -S NAME |
tmux new -s NAME |
Creates and attaches to new session |
| screen -ls |
tmux ls |
Lists available sessions |
| screen -x NAME |
tmux attach -t NAME |
Attaches to existing session |
To remove a session, login with screen -x NAME and type in quit or press CTRL+d.
Working with Screen
| Screen Shortcut |
Tmux Shortcut |
Description |
| CTRL+a d |
CTRL+b d |
Detaches from the current session (session not removed) |
| CTRL+d |
exit |
Shortcut for "quit" - Detaches and removes current session |
| CTRL+a ESC |
|
Starts the copy mode --> screen update is frozen and you can scroll --> leave with ESC |
Source: Screen Cheatsheet or Tmux Cheatsheet