postsµβaboutspaces~/projects
May 3, 2009

GNU Screen Cheat Sheet

night rising

My normal modus operandi is to heavily use tabs with Konsole. My strategy gets pretty hectic when you have a Konsole per machine with multiple tabs, trying to juggle everything… It’s basically reached it’s scalability threshold. I’m hoping injecting GNU Screen into my workflow will simplify things a little bit (though I’m not completely sold yet). But what I need a quick reference for all the shortcuts, which is where this page comes in. I will expand this as I pick up new commands.

Note: Italics indicate regular expressions

Windows

  • New Window Ctrl+a c
  • Last Used Window Ctrl+a Ctrl+a
  • Prev/Next Window Ctrl+a [np]
  • Goto Window Ctrl+a [0-9]
  • Change Window Title Ctrl+a A

Sessions

  • Detach Session Ctrl+a d
  • Reattach Session screen -r

Console Copy & Paste

  • Enter C&P Mode Ctrl+a [
  • Begin Selection Enter
  • End Selection Enter
  • Paste Ctrl+a ]

Monitor

  • Toggle Silence Monitor Ctrl+a \_
  • Toggle Activity Monitor Ctrl+a M
Photo: concretecandy