Linux/Screen

From Wiki
< Linux
Revision as of 16:51, 23 December 2021 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • commandline options:
screen -d                  detach 
screen -r                  reattach
screen -S sockname
screen -t title
screen -ls                 list sessions
  • Keyboard shortcuts: Ctrl-A + ...
   break       ^B b          license     ,             removebuf   =
   clear       C             lockscreen  ^X x          reset       Z
   colon       :             log         H             screen      ^C c
   copy        ^[ [          login       L             select      '
   detach      ^D d          meta        a             silence     _
   digraph     ^V            monitor     M             split       S
   displays    *             next        ^@ ^N sp n    suspend     ^Z z
   dumptermcap .             number      N             time        ^T t
   fit         F             only        Q             title       A
   flow        ^F f          other       ^A            vbell       ^G
   focus       ^I            pow_break   B             version     v
   hardcopy    h             pow_detach  D             width       W
   help        ?             prev        ^H ^P p ^?    windows     ^W w
   history     { }           quit        \             wrap        ^R r
   info        i             readbuf     <             writebuf    >
   kill        K k           redisplay   ^L l          xoff        ^S s
   lastmsg     ^M m          remove      X             xon         ^Q q
  • Windows: Ctrl-A + ...
create window  c
next           n
previous       p

Split Windows

Split horizontally    CTRL-a + S    (uppercase 's')
Split vertically      CTRL-a + |

switch active         CTRL-a + TAB

new terminal          CTRL-a + c