Screen Tutorial

Linux

Create a new screen with name:

[[email protected]_name ~]$ screen -S screen_name

Kill screen session:

[[email protected]_name ~]$ screen -ls

There is a screen on:

    2498.pts-39.server_name    (Detached)

1 Socket in /var/run/screen/S-user.

[[email protected]_name ~]$ screen -S 2498.pts-39.server_name -X quit

[[email protected]_name ~]$ screen -ls

No Sockets found in /var/run/screen/S-user.