Skip to content

Commit

Permalink
Changed basics section to start/detach/list/reattach since these is t…
Browse files Browse the repository at this point in the history
…he dominant usecase (#2098)
  • Loading branch information
TheDarkTron authored Feb 4, 2024
1 parent 95c60a0 commit e21b17f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Screen
category: CLI
layout: 2017/sheet
updated: 2020-12-05
updated: 2024-02-03
keywords:
- Screen
- Linux
Expand All @@ -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

Expand All @@ -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

Expand Down

0 comments on commit e21b17f

Please sign in to comment.