screen
screen - screen manager with VT100/ANSI terminal emulation
Syntax
screen [ -options ] [ cmd [ args ] ]
screen -r [[pid.]tty[.host]]
screen -r sessionowner/[[pid.]tty[.host]]
Options
-S: Name the screen session.-L: Start screen with logging.-d: Start screen in detached mode.-r: Reattach to a detached screen.-ls: List all screen sessions.-X: Send a command to a running screen session.-r: Reattach to a running screen session.-D: Detach and logout a running screen session.-S: Name a screen session.
Examples
Create a screen with a logfile (L) and a name (S)
screen -S session_name -L
Detach
[CTRL]+[a] then [d]
Attach
screen -r session_name
List screen
`screen -ls`
Tuer le screen
Kill current screen
exit
Navigate between terminals
[CTRL]+[a] then [c] : create a new terminal.[CTRL]+[a] then [n]: next terminal.[CTRL]+[a] then [p]: previous terminal.[CTRL]+[a] then [0]..[9]: specific terminal.[CTRL]+[a] then [']: input terminal number.[CTRL]+[a] then ["]: list terminals and select one.[CTRL]+[a] then [w]: list terminals with title.[CTRL]+[a] then [a]: return to the last terminal.[CTRL]+[a] then [A]: name the terminal to facilitate navigation.