Screen

By | September 4, 2024

Help

^aControl + a
^a ?Help

Getting in

screen -S <name>Create a new screen session
screen -ls or screen -listlist running screens
screen -r or screen -xattach to running sessions
screen -r <name>attach to running session with name
screen -dRR <name>attach to screen session, deattach if attached elsewhere, if not exist creates one

Getting out

screen -d <name>detach a running screen
^a ddetach
^a D Ddetach and logout
^a : quitexit screen, or exit all program on screen

Window Management

^a ccreate new window
^a ^achange to last-visited active window
^a <number>change to window by number
^a ' <number or title>change to window by number or name
^a p
^a space
change to previous window in list
^a nchange to next window in list
^a "see window list
^a wshow window bar
^a kkill current window
^a \kill all windows
^a Arename window

Split screen

^a Ssplit horizontal
^a |split vertical
^a tab
^a ^i
jump to next region
^a Xremove current region
^a Qremoval all reqion
^a : layout save defaultsave current layout

Split screen using layout

layout new
split
split -v
screen 0
focus next
focus prev
focus left
focus right
screen 1
focus up
focus bottom
screen 2
detach

Misc

^a ^lredraw window
^a [
^a esc
enter copy mode
enterselection on mode copy
^a ]paste
^a Mmonitor window for activity
^a _monitor window for silence
^a ^v
to exit using ^d
enter digrph non ascii char
^a :enter screen command
^a xlock password
^a Henter digraph non ascii char

Leave a Reply

Your email address will not be published. Required fields are marked *