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
linux:screen [2017/12/09 01:19] – external edit 127.0.0.1linux:screen [2024/01/05 11:38] (current) – [SCREEN] tmade
Line 10: Line 10:
  
   screen   screen
 +or
 +  screen -S some-session-name
      
 Optional: Start logging (each command executed in screen will be written to a file such as "screenlog.0" in the home directory of the screen executing user): Optional: Start logging (each command executed in screen will be written to a file such as "screenlog.0" in the home directory of the screen executing user):
  
-  ctrl + a H+  ctrl + a H 
 +   
 +If you are running screen as root-user you can activate the logging in any path/ folder. If you running the logging as non-root, you have to make sure to have write-permissions in the running path! The logging-file "screenlog.0" will be written in the path you started the screen-session.
      
 Detach from running screen: Detach from running screen:
Line 46: Line 50:
  
   screen -r 1864.pts-0.demo-host   screen -r 1864.pts-0.demo-host
 +or
 +  screen -r -S 1864.pts-0.demo-host
      
 Terminate all screen-sessions: Terminate all screen-sessions:
Line 58: Line 64:
  
   screen -X -S 1864.pts-0.demo-host quit   screen -X -S 1864.pts-0.demo-host quit
 +  
 +Attach to an already attached session (e. g. after network disconnect):
 +
 +  screen -rd
 +  screen -r -d 30608
      
  
linux/screen.txt · Last modified: 2024/01/05 11:38 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki