2014-02-27 20:51:40 +00:00
|
|
|
# screen
|
|
|
|
|
|
|
|
> Hold a session open on a remote server. Manage multiple windows with a single SSH connection.
|
|
|
|
|
2015-10-22 08:31:52 +01:00
|
|
|
- Start a new screen session
|
2014-02-27 20:51:40 +00:00
|
|
|
|
|
|
|
`screen`
|
|
|
|
|
2015-06-26 03:12:09 +01:00
|
|
|
- Start a new named screen session
|
|
|
|
|
|
|
|
`screen -S {{name}}`
|
|
|
|
|
2014-02-27 20:51:40 +00:00
|
|
|
- Show open screen sessions
|
|
|
|
|
|
|
|
`screen -ls`
|
|
|
|
|
|
|
|
- Reattach to an open screen
|
|
|
|
|
|
|
|
`screen -r {{screen id}}`
|
|
|
|
|
|
|
|
- Detach from inside a screen
|
|
|
|
|
|
|
|
`ctrl+A D`
|
2015-12-29 03:20:38 +00:00
|
|
|
|
|
|
|
- Kill a detached screen
|
|
|
|
|
|
|
|
`screen -X -S {{screen id}} quit`
|