tmux 基本命令记录
- create new window
tmux new -s <session-name>
- list all sessions
tmux ls
- switch window
tmux attach -t <session-name> or <session-number>
- leave window
tmux detach
or
Press ctrl + b
wait 2 seconds
Press d
more detail about this process
- kill session
tmux kill-session -t <session-name> or <session-number>
-
rename session
tmux rename-session -t <session-name> or <session-number> <new-name> -
上下翻动(启动鼠标滚动, 参考
ctrl + b
:
进入命令模式
set -g mouse on
references:
网友评论