Screen

Screen is a terminal multiplexer. Processes running in screen will continue to run when their window is not visible even if you get disconnected.

You can check if screen is installed on your system by typing:

$ screen --version

Command list

  1. Starting a new screen session:

$ screen -S <session-name>
  1. List all the sessions:

$ screen ls
  1. Attach to a session:

$ screen -r <session-name>
  1. Detach from the screen session:

Ctrl+a d
  1. Kill the session:

exit

Further reading

  1. How To Use Linux Screen: https://linuxize.com/post/how-to-use-linux-screen