This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:screen [2017/12/09 01:19] – external edit 127.0.0.1 | linux:screen [2020/10/22 16:52] – 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 " | ||
Line 46: | Line 48: | ||
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 62: | ||
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 | ||
| | ||