Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).
Start a new session with session name
|List running sessions / screens|
|Attach to a running session|
|Attach to a running session with name|
|Detach a running session|
Switching between screens
When you do nested screen, you can switch between screen using command “Ctrl-A” and “n“. It will be move to the next screen. When you need to go to the previous screen, just press “Ctrl-A” and “p“.
To create a new screen window, just press “Ctrl-A” and “c“.
There are 2 (two) ways to leaving the screen. First, we are using “Ctrl-A” and “d” to detach the screen. Second, we can use the exit command to terminating screen. You also can use “Ctrl-A” and “K” to kill the screen.
That’s some of screen usage on daily basis. There are still a lot of features inside the screen command. You may see screen man page for more detail or this page https://gist.github.com/jctosta/af918e1618682638aa82.