tmux - the essentials
Tmux - the essentials is a concise article by David Winter giving a gentle introduction to the tmux terminal multiplexer.
tmux
create a new tmux sessiontmux ls
list any existing tmux sessionstmux a
reattach to the last open tmux sessionctrl
+b
the default tmux command prefixprefix
+d
detach from current tmux sessionprefix
+c
create a new windowprefix
+0
-9
to switch to the numbered windowprefix
+,
rename the existing windowprefix
+%
split the current pane into two vertical panes, left and rightprefix
+"
split the current pane into two horizontal panes, top and bottomprefix
+q
view numbered panes for current windowprefix
+q
,0
-9
switch to pane immediately after displaying pane numbersprefix
+z
to zoom and unzoom
(via)