1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/screen.md

28 lines
414 B
Markdown
Raw Normal View History

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