This is an old revision of the document!


GNU Screen

Notes on the GNU screen console multiplexer.

  • sessions
    • create session: screen -S <session id>
    • list sessions: screen -ls
    • detach: Ctrl-a d
    • attach: screen -r <session id>
    • attach to non-detached session (session sharing): screen -x <session id>
    • attach, detaching first if necessary: screen -dr <session id>
    • quit: Ctrl-a Ctrl-\
    • quit: screen -S <session id> -X quit
  • windows
    • create: Ctrl-a c
    • kill: Ctrl-a k
    • name window title: Ctrl-a A
    • Switch between windows: Ctrl-a “
  • regions
    • vertical split: Ctrl-a |
    • split: Ctrl-a S
    • remove: Ctrl-a X
    • move to region: Ctrl-a tab
    • scrollback/scroll in a region: C-a [ or C-a ESC to enter copy mode then arrow keys.

Nested Sessions

  • Use key sequence Ctrl+a a to send commands to the nested session.
  • gnu_screen.1437585411.txt.gz
  • Last modified: 2015/07/22 17:16
  • by mgupton