GIGAMIND

Folder:
120 Linux
File:
120.002 Linux - Screen

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

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/