tmux cheat sheet
(C-x means ctrl+x, M-x means alt+x)
Prefix key
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
# remap prefix to Control + a
(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
# remap prefix to Control + a
start new:
tmux
start new with session name:
tmux new -s myname
首先确定已经安装完成 docker,如果没有安装可以使用以下脚本快速安装并配置: