screen_session
This is an old revision of the document!
Screen Sessions
Install
# yum info screen.x86_64
Loaded plugins: changelog, fastestmirror, replace
Loading mirror speeds from cached hostfile
* ius: lon.mirror.rackspace.com
drivesrvr | 2.2 kB 00:00
Available Packages
Name : screen
Arch : x86_64
Version : 4.0.3
Release : 18.el6
Size : 494 k
Repo : base
Summary : A screen manager that supports multiple logins on one terminal
URL : http://www.gnu.org/software/screen
License : GPLv2+
Description : The screen utility allows you to have multiple logins on just one
: terminal. Screen is useful for users who telnet into a machine or are
: connected via a dumb terminal, but want to use more than just one
: login.
:
: Install the screen package if you need a screen manager that can
: support multiple logins on one terminal.
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 -listExample
# 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.1456410129.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
