User Tools

Site Tools


screen_session

Screen Sessions

Install

1
2
3
4
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:

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

Listing Screen Sessions

1
screen -list
or
1
screen -ls
Example
1
2
3
4
5
# 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:

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

Closing the screen session

1
"Ctrl-D"

Entering back into a screen session

1
screen -r 6470.pts-1.hostname

Cycle through screen sessions

1
"Ctrl-a"


Enable Scrolling In Screen Sessions

Ctrl + a then hit Esc

screen_session.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

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