GNU SCREEN Cheat Sheet
image/svg+xml
GNU SCREEN Cheat Sheet
2012-10-17
Éric Deschamps
Éric Deschamps - Formations Linux LPI
Éric Deschamps - Formations Linux LPI
en_EN
GNU screen
Mind Map
cheat sheet
GNU Screen commands
http://www.formation-lpi.com
Mind Map with GNU Screen's main commands.
V 1.3.6-en - 2012-10-17 - Author: Éric Deschamps - http://www.formation-lpi.com
Creative Commons Attribution-ShareAlike 3.0 Unported Licence (CC BY-SA 3.0)
GNU SCREEN
CHEAT SHEET
REGIONS
KILL
CURRENT
C-a X
OTHERS
C-a Q
FILL INTO
SHELL
FROM WINDOW
C-a 0...9
NEW
SHELL
C-a c
TOGGLE
C-a TAB
SPLIT WINDOW
WITHOUT
SHELL
C-a |
VERTICAL
C-a S
HORIZONTAL
OTHERS
HELP
C-a ?
ACTIVITY
CONTROL
SILENCE
(COMPILATION)
C-a _
MONITOR
(IRC)
C-a M
ESCAPE
C-a a
WINDOWS
LIST
C-a w
C-a "
TITLE
C-a A
HISTORY
Ctrl-a [
N°
C-a 0...9
KILL
C-a k
PREVIOUS
C-a <-
C-a p
NEXT
C-a n
CREATE
C-a c
SESSIONS
INFO
C-a i
LOCK
C-a x
PROTECT
C-a :password
QUIT
C-a \
RENAME
C-a : sessionname <nom>
DETACH
C-a D D
+LOGOUT
C-a d
ATTACH
screen -x nomsession
screen -x
RESUME
screen -R
OR CREATE
A NEW ONE
screen -r
LIST
screen -ls
NEW
screen -e mutt
screen -S nomsession
screen
CONFIGURATION
~/.screenrc
# don't display the copyright page
startup_message off
hardstatus alwayslastline
# Be carreful to write the next 3 lines as only one
hardstatus string '%{= kG}[ %{G}%H %{g}][%=
%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=
%{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
# Default screens
screen -t shell1 0
screen -t shell2 1
screen -t server 2 ssh me@myserver
Many thanks to Baptiste Detune for his feedback