Screen cheatsheet

less than 1 minute read

Command Line

screen -S name  # start a session called name
screen -r name  # reattach to name

Screen Commands

Terminal region splitting and navigation

clt-a |    # split verical regions
ctl-a S    # split horizontal regions
clt-a X    # close the current region
clt-a tab  # move to next region

Window management

ctl-a c    # create a window
clt-a "    # navigate to a window 
ctl-a :    # save current layout
  `layout save default` 

General management

ctl-a esc  # access scroll buffer
  esc      # exit scroll buffer
ctl-a d    # detach