Usage of screen command¶
Starting screen command¶
$ screen
Attach to a screen in multi display mode¶
$ screen -x
Detach from screen without killing screen¶
Ctrl+A then push+D
Display screen sessions¶
$ screen -ls
Example:
$ screen -ls
There is a screen on:
8451.pts-0.vps189730 (08/05/2016 12:38:25) (Detached)
1 Socket in /var/run/screen/S-root.
Attach to a single screen session¶
$ screen -r
Attach to a specific session¶
$ screen -r 8451
8451 is taken from above command
Killing screen¶
Ctrl+A then push+K