mirror of https://github.com/CrimsonTome/tldr.git
28 lines
408 B
Markdown
28 lines
408 B
Markdown
# screen
|
|
|
|
> Hold a session open on a remote server. Manage multiple windows with a single SSH connection.
|
|
|
|
- Start a new screen session
|
|
|
|
`screen`
|
|
|
|
- Start a new named screen session
|
|
|
|
`screen -S {{name}}`
|
|
|
|
- Show open screen sessions
|
|
|
|
`screen -ls`
|
|
|
|
- Reattach to an open screen
|
|
|
|
`screen -r {{screen id}}`
|
|
|
|
- Detach from inside a screen
|
|
|
|
`ctrl+A D`
|
|
|
|
- Kill a detached screen
|
|
|
|
`screen -X -S {{screen id}} quit`
|