Skip to content

Screen cheat sheet

March 19, 2019

Screen is a Linux utility for making multiple displays with one login and switching, cutting and pasting between the sessions. Here is an abbreviated list of what to do. A full list of course is found in “man screen” or “info screen”

  • Invoke: screen
  • Detatch ^a D
  • re-attach screen -r
  • New session: ^a c
  • Next session: ^a n
  • Previous session: ^a p
  • List sessions ^a “
  • Title a window: ^a A
  • Split screen: ^a | or ^a s (vertical, horizontal)
  • Other screen (when split): ^a tab or ^a ^i
  • Unsplit screen: ^a Q
  • Copy mode: ^a [
    • in copy mode, can move the cursor with arrow keys,hjkl,
    • pg up, pg down, ^b ^f
    • Search backwards: ? or ^r
    • Search forwards: ^a s or /
    • Next / Prev search pattern: n or N
    • Mark: space
    • Copy: Enter
    • Exit: any non-copy mode key (q for one)
  • Paste: ^a ]

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: