Screen - simple basics

Last updated: October 20, 2011

Prevent failed tasks from dropped connections by using Screen.  If in screen and your connection drops that large rsync, scp, compile, or command continues going.

what is Screen?

Screen  is  a  full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells)

For more information: [root@vps /]# man screen

Installing Screen

[root@vps /]# yum install screen -y

The basics

Enter Screen: [root@vps /]# screen

To detach: CTRL A+D

List Session(s)

[root@vps ~]# screen -ls
There are screens on:
XXXX.pts-0.vps (Detached)

Attach to a Session

[root@vps ~]# screen -r XXXX

Tags: screen, session, shell