screen_session
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
screen_session [2016/02/25 14:10] – luke7858 | screen_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, | ||
- | Loading mirror speeds from cached hostfile | ||
- | * ius: lon.mirror.rackspace.com | ||
- | drivesrvr | ||
- | Available Packages | ||
- | Name : screen | ||
- | Arch : x86_64 | ||
- | Version | ||
- | Release | ||
- | Size : 494 k | ||
- | Repo : base | ||
- | Summary | ||
- | URL : http:// | ||
- | License | ||
- | 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 bash> | <sxh bash> | ||
yum install screen | yum install screen | ||
Line 39: | Line 15: | ||
<sxh bash> | <sxh bash> | ||
screen | screen | ||
+ | </ | ||
+ | Creating a screen session with session name: | ||
+ | <sxh bash> | ||
+ | screen -S < | ||
</ | </ | ||
\\ | \\ | ||
Line 44: | Line 24: | ||
<sxh bash> | <sxh bash> | ||
screen -list | screen -list | ||
+ | </ | ||
+ | or | ||
+ | <sxh bash> | ||
+ | screen -ls | ||
</ | </ | ||
Example | Example | ||
Line 49: | Line 33: | ||
# screen -list | # screen -list | ||
There are screens on: | There are screens on: | ||
- | 6470.pts-1.LLL (Detached) | + | 6470.pts-1.hostname (Detached) |
- | 6839.pts-1.LLL (Detached) | + | 6839.pts-1.hostname (Detached) |
2 Sockets in / | 2 Sockets in / | ||
</ | </ | ||
- | \\ | + | |
- | <sxh bash> | + | |
- | # screen -ls | + | |
- | There is a screen on: | + | |
- | 6470.pts-1.LLL | + | |
- | 1 Socket in / | + | |
- | </ | + | |
\\ | \\ | ||
=== Detach from screen sessions === | === Detach from screen sessions === | ||
Line 66: | 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 | + | "Ctrl-A" |
</ | </ | ||
\\ | \\ | ||
=== Closing the screen session === | === Closing the screen session === | ||
<sxh bash> | <sxh bash> | ||
+ | " | ||
</ | </ | ||
\\ | \\ | ||
Line 78: | Line 56: | ||
screen -r 6470.pts-1.hostname | screen -r 6470.pts-1.hostname | ||
</ | </ | ||
+ | \\ | ||
+ | === Cycle through screen sessions === | ||
+ | <sxh bash> | ||
+ | " | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | === Enable Scrolling In Screen Sessions === | ||
+ | Ctrl + a then hit Esc |
screen_session.1456409408.txt.gz · Last modified: 2024/05/23 07:26 (external edit)