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 12:53] – 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 | ||
| - | </ | ||
| + | Total download size: 494 k | ||
| + | Installed size: 795 k | ||
| + | |||
| + | </ | ||
| + | \\ | ||
| === Creating a screen session === | === Creating a screen session === | ||
| Line 35: | Line 15: | ||
| <sxh bash> | <sxh bash> | ||
| screen | screen | ||
| + | </ | ||
| + | Creating a screen session with session name: | ||
| + | <sxh bash> | ||
| + | screen -S < | ||
| </ | </ | ||
| \\ | \\ | ||
| Line 41: | Line 25: | ||
| screen -list | screen -list | ||
| </ | </ | ||
| + | or | ||
| + | <sxh bash> | ||
| + | screen -ls | ||
| + | </ | ||
| + | Example | ||
| + | <sxh bash> | ||
| + | # screen -list | ||
| + | There are screens on: | ||
| + | 6470.pts-1.hostname (Detached) | ||
| + | 6839.pts-1.hostname (Detached) | ||
| + | 2 Sockets in / | ||
| + | </ | ||
| + | |||
| \\ | \\ | ||
| === 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> | ||
| + | " | ||
| + | </ | ||
| + | \\ | ||
| + | === Closing the screen session === | ||
| + | <sxh bash> | ||
| + | " | ||
| </ | </ | ||
| \\ | \\ | ||
| === Entering back into a screen session === | === Entering back into a screen session === | ||
| <sxh bash> | <sxh bash> | ||
| + | screen -r 6470.pts-1.hostname | ||
| </ | </ | ||
| + | \\ | ||
| + | === Cycle through screen sessions === | ||
| + | <sxh bash> | ||
| + | " | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | === Enable Scrolling In Screen Sessions === | ||
| + | Ctrl + a then hit Esc | ||
screen_session.1456404794.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
