Tmux

Summary: Author: 张亚飞 | 阅读时间: 1 minute read | Published: 2018-04-26
Filed under Categories: LinuxTags: Note,

tmux 终端

brew install tmux       # OSX
pacman -S tmux          # archlinux
apt-get install tmux    # Ubuntu
yum install tmux        # Centos
  • 源码编译安装
git clone https://github.com/tmux/tmux.git
cd tmux
git checkout tags/3.0
sh autogen.sh
./configure && make
make install

常用命令

  • 查看版本
tmux -V
  • 创建新窗口
tmux new -s test_window
  • 列出所有窗口
tmux ls
  • 进入窗口
tmux a -t test_window
  • 删除窗口
tmux kill-session -t test_window
Ctrl + B -> D

Comments

Cor-Ethan, the beverage → www.iirii.com