Screen
It’s like windows for Linux
screen -ls
- show all the screen sessions that are open
screen -r 23167
- attach to a specific session
screen -rd [session name]
- detach some other session from a named screen session and connect to it yourself
CTRL+A d
- detach from screen session
exit
- kill a screen session
screen -X -S [session # you want to kill] quit
- kill detached screen session
screen -S named_screen_session
- start a new screen session with a name
screen -r named_screen_session
- connect to the named screen session
CTRL+A Esc
- enter scrolling mode
How to exit a hung SSH terminal session
Enter
,~
,.
Source:
https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/
Graph:
- 120 Linux to 120.002 Linux - Screen