User Tools

Site Tools


ubuntu:screen:cheatsheet

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
ubuntu:screen:cheatsheet [2021/06/23 15:54] – [Reattach to a Screen session] peterubuntu:screen:cheatsheet [2021/06/23 16:00] (current) peter
Line 5: Line 5:
 |CTRL+a 0|Switch to window 0 (by number).| |CTRL+a 0|Switch to window 0 (by number).|
 |CTRL+a A|Rename the current window.| |CTRL+a A|Rename the current window.|
 +|CTRL+a d|Detach from a Screen session. See [[Ubuntu:Screen:Detach from the Screen session|Detach from the Screen session]]|
 |CTRL+a S|Split current region horizontally into two regions.| |CTRL+a S|Split current region horizontally into two regions.|
 |CTRL+a <nowiki>|</nowiki>|Split current region vertically into two regions.| |CTRL+a <nowiki>|</nowiki>|Split current region vertically into two regions.|
Line 13: Line 14:
  
 ---- ----
- 
-===== Detach from the Screen session ===== 
- 
-<code bash> 
-CTRL+a d 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  The program running in the screen session will continue to run in the background. 
-</WRAP> 
- 
----- 
- 
-===== Reattach to a Screen session ===== 
- 
-<code bash> 
-screen -r 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This will resume the screen session. 
-</WRAP> 
- 
- 
----- 
- 
-===== Reattach to a Screen session, when multiple screen sessions are running ===== 
- 
-==== Identify the Screen IDs that are running ==== 
- 
-<code bash> 
-screen -ls 
-</code> 
- 
-returns: 
- 
-<code bash> 
-There are screens on: 
-        1234.tty1.Chia-CLI      (06/27/21 07:54:43)     (Attached) 
-        1222.tty1.Chia-CLI      (06/27/21 07:51:22)     (Attached) 
-        598.tty1.Chia-CLI       (06/27/21 07:36:27)     (Attached) 
-3 Sockets in /run/screen/S-root. 
-</code> 
- 
----- 
- 
-===== Reattach to a Screen session ===== 
- 
-<code bash> 
-screen -r 1234 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This will resume the specific screen session. 
-</WRAP> 
- 
  
  
ubuntu/screen/cheatsheet.1624463666.txt.gz · Last modified: 2021/06/23 15:54 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki