This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:screen [2019/11/18 18:31] – [SCREEN] tmade | linux: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 " | Optional: Start logging (each command executed in screen will be written to a file such as " | ||
- | 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 " | ||
| | ||
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: |