How to Use Screen on Linux

January 24, 2009

I’m not going to write what screen is about in this article. I just want to make a personal note for myself about this linux utility.

Starting screen :
#screen

Create a screen session :
Ctrl-a-c

Move to next screen session :
Ctrl-a-n

Move to previous screen session :
Ctrl-a-p

Detach current screen session :
Ctrl-a-d

To view current screen session :
#screen -ls
Output sample :
—————————————–
There is a screen on:
966.pts-0.helios (Detached)
1 Socket in /var/run/screen/S-root.
—————————————–

To reconnect to 966.pts-0.helios screen session :
#screen -r 966.pts-0.helios

That’s all. I hope my post can be useful to you ;)

Leave a Reply