From e21b17f5e72329f9b652ab06f1cf8fbdcc673ee5 Mon Sep 17 00:00:00 2001 From: TheDarkTron Date: Sun, 4 Feb 2024 09:25:40 +0100 Subject: [PATCH] Changed basics section to start/detach/list/reattach since these is the dominant usecase (#2098) --- screen.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/screen.md b/screen.md index 834a9cf861..36b59a60f0 100644 --- a/screen.md +++ b/screen.md @@ -2,7 +2,7 @@ title: Screen category: CLI layout: 2017/sheet -updated: 2020-12-05 +updated: 2024-02-03 keywords: - Screen - Linux @@ -18,13 +18,14 @@ intro: | ## Basics {: .-three-column} -### CLI Options +### Basics -| Options | Description | -| ----------------- | ----------------------------------------- | -| `-S` | Starts a named session | -| `-r [name]` | Reattach to a screen (optionally by name) | -| `-ls` or `--list` | Returns a list of session ids | +| Options/Keybind | Description | +| ------------------------- | ---------------------------------------------------------------------------------------- | +| `screen -S [name]` | Start a named session | +| `ctrl+a ctrl+d` | Detach the current screen and go back to the terminal (screen session will stay running) | +| `screen -ls` or `-list` | List all sessions | +| `screen -r [name]` | Reattach to a screen (optionally by name) | ### Screens @@ -35,7 +36,6 @@ intro: | | `ctrl+a n` | Go to the next screen tab | | `ctrl+a p` | Go to the previous screen tab | | `ctrl+a k` | Kill current screen tab | -| `ctrl+a ctrl+d` | Detach the current screen and go back to the terminal (screen windows will stay running) | ### Visual pleasure