Screen and Tmux Cheat Sheet
Screen and Tmux Cheat Sheet
A comparison of the features (or more-so just a table of notes for accessing some of those features) for GNU
screen and BSD-licensed tmux.
Want more information about tmux and screen? Check out these other resources:
The formatting here is simple enough to understand (I would hope). ^ means ctrl+, so ^x is ctrl+x. M- means
meta (generally left-alt or escape)+, so M-x is left-alt+x
It should be noted that this is no where near a full feature-set of either group. This - being a cheat-sheet - is
just to point out the most very basic features to get you on the road.
tmux OR
start a new session tmux new OR screen
tmux new-session
tmux attach OR
re-attach a detached session screen -r
tmux attach-session
^b d OR ^a ^d OR
detach from currently attached session
^b :detach ^a :detach
^b , <newname> OR
rename-window to newname ^b :rename-window ^a A <newname>
<newname>
list windows ^b w ^a w
go to last-active window ^b l ^a ^a
go to next window ^b n ^a n
go to previous window ^b p ^a p
see keybindings ^b ? ^a ?
^b s OR
list sessions tmux ls OR screen -ls
tmux list-sessions
show time ^b t