screen basics

To create a screen named s0 and attach to it use
n:~$screen -S s0

To list all screens use
n:~$screen -ls
There is a screen on:
        2713.s0 (09/14/2011 03:22:05 PM)        (Attached)
1 Socket in /var/run/screen/S-g.

To detach from a screen use the three key sequence Ctrl,a,d
[detached from 2713.s0]
n:~$screen -ls
There is a screen on:
 2713.s0 (09/14/2011 03:22:14 PM) (Detached)
1 Socket in /var/run/screen/S-g.


To reattach to the detached screen s0 use
n:~$screen -r s0

To kill the screen s0 use
n:~$screen -S s0 -X kill
n:~$screen -ls
No Sockets found in /var/run/screen/S-g.