Skip to content

Instantly share code, notes, and snippets.

@cchwala
Last active August 17, 2022 20:09
Show Gist options
  • Select an option

  • Save cchwala/0fddf30f993779e24293400e1b58eb75 to your computer and use it in GitHub Desktop.

Select an option

Save cchwala/0fddf30f993779e24293400e1b58eb75 to your computer and use it in GitHub Desktop.
GNU screen info

From https://www.perl.com/article/153/2015/2/16/Get-to-grips-with-GNU-Screen/ with some addition

# Type before other commands
Prefix: Control + a


Shortcuts menu: ?

New window:    c      Split Vertical:   |       Copy mode:     [
Close window:  k      Split Horizontal: S       Start copy:    space
Next window:   n      Focus next region: tab    Scroll up:     u
Prior window:  p      Quit split screem: Q      Scroll down:   d
Jump window #: 0-9                              End copy:      space
List windows:  "                                Paste:         ]
Rename window: A                                End copy mode: escape

Detach: d
Quit:   \

Save window layout:  Ctrl-A :layout save default


# Terminal commands
Launch Screen:     screen
Named session:     screen -S <name>
List sessions:     screen -ls
Re-attach session: screen -r [name]
@cchwala
Copy link
Copy Markdown
Author

cchwala commented Aug 17, 2022

some good info on how to make screen as good as tmux (or better, or not as good, who knows...) https://reversed.top/2015-11-08/switching-from-tmux-to-gnu-screen/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment