User Tools

Site Tools


screen_session

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
screen_session [2016/02/25 12:53] luke7858screen_session [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 === Install === === Install ===
-<sxh bash> 
-# 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. 
-</sxh> 
 <sxh bash> <sxh bash>
 yum install screen yum install screen
-</sxh> 
  
 +Total download size: 494 k
 +Installed size: 795 k
 +
 +</sxh>
 +\\
 === Creating a screen session === === Creating a screen session ===
  
Line 35: Line 15:
 <sxh bash> <sxh bash>
 screen screen
 +</sxh>
 +Creating a screen session with session name:
 +<sxh bash>
 +screen -S <name>
 </sxh> </sxh>
 \\ \\
Line 41: Line 25:
 screen -list screen -list
 </sxh> </sxh>
 +or
 +<sxh bash>
 +screen -ls
 +</sxh>
 +Example
 +<sxh bash>
 +# screen -list
 +There are screens on:
 + 6470.pts-1.hostname (Detached)
 + 6839.pts-1.hostname (Detached)
 +2 Sockets in /var/run/screen/S-root.
 +</sxh>
 +
 \\ \\
 === Detach from screen sessions === === Detach from screen sessions ===
Line 47: Line 44:
 This will leave the current command running: This will leave the current command running:
 <sxh bash> <sxh bash>
 +"Ctrl-A" and "d" to detach the screen 
 +</sxh> 
 +\\ 
 +=== Closing the screen session === 
 +<sxh bash> 
 +"Ctrl-D"
 </sxh> </sxh>
 \\ \\
 === Entering back into a screen session === === Entering back into a screen session ===
 <sxh bash> <sxh bash>
 +screen -r 6470.pts-1.hostname
 </sxh> </sxh>
 +\\
 +=== Cycle through screen sessions ===
 +<sxh bash>
 +"Ctrl-a"
 +</sxh>
 +\\
 +\\
 +=== Enable Scrolling In Screen Sessions ===
 +Ctrl + a then hit Esc
screen_session.1456404794.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