Tmux 是我最喜歡的終端複用軟件,容許隨時隨地斷開或從新接入會話(Session),因此最大的做用就是在遠程服務器上持久地保存工做狀態。服務器
Tmux支持分屏的功能也很棒,能讓咱們在使用 SSH 等工具鏈接服務器時,方便的把屏幕分開,分別執行不一樣的任務。工具
個人 tmux 配置文件(/etc/tmux.conf)以下:orm
# Turn off the status line
set -g status offit
# Change the prefix form C-b to Alt-x
unbind C-b
set -g prefix M-xio
unbind %
bind - splitw -v
unbind ' " '
bind \ splitw -hform
set-window-option -g mode-keys vi
set-window-option -g utf8 on軟件