Screen Sessions

Install

yum install screen

Total download size: 494 k
Installed size: 795 k


Creating a screen session

You can use screen sessions but typing the following command:

screen
Creating a screen session with session name:
screen -S <name>

Listing Screen Sessions

screen -list
or
screen -ls
Example
# screen -list
There are screens on:
	6470.pts-1.hostname	(Detached)
	6839.pts-1.hostname	(Detached)
2 Sockets in /var/run/screen/S-root.


Detach from screen sessions

The following command can be used to detach from a screen session without closing it.
This will leave the current command running:

"Ctrl-A" and "d" to detach the screen

Closing the screen session

"Ctrl-D"

Entering back into a screen session

screen -r 6470.pts-1.hostname

Cycle through screen sessions

"Ctrl-a"


Enable Scrolling In Screen Sessions

Ctrl + a then hit Esc