Session
建立新 session
$ tmux
list sessions
ctrl+b s
detach session
ctrl+b d
attach session
$ tmux attach
create named session
$ tmux new -s master
rename session
$ tmux rename-session -t 0 slave
attach named session
$ tmux attach -t slave
list tmux sessions
$ tmux ls
attach selected session
$ tmux attach -t 0
kill selected session
$ tmux kill-session -t {Session name}
$ tmux kill-session -t 0
Window
list windows
ctrl+b w
create new window
ctrl+b c
delete window
ctrl+d
switch to last window
ctrl+b p
switch to next window
ctrl+b n
switch window with number
C-b <number>
Pane
split pane vertically
ctrl+b “
split pane horizontally
ctrl+b %
show pane number
ctrl+b q
Others
help
ctrl+b ?