User Tools

Site Tools


screen_session

This is an old revision of the document!


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

Listing Screen Sessions

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

# screen -ls
There is a screen on:
        6470.pts-1.LLL  (Attached)
1 Socket 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"

screen_session.1456410300.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki