tmux

Multiplex several virtual consoles.

Install

All systems
curl cmd.cat/tmux.sh
Debian Debian
apt-get install tmux
Ubuntu
apt-get install tmux
Alpine
apk add tmux
Arch Arch Linux
pacman -S tmux
image/svg+xml Kali Linux
apt-get install tmux
CentOS
yum install tmux
Fedora
dnf install tmux
OS X
brew install tmux
Raspbian
apt-get install tmux
Docker
docker run cmd.cat/tmux tmux powered by Commando

Multiplex several virtual consoles.

  • Start a new tmux session:
    tmux
  • Start a new named tmux session:
    tmux new -s name
  • List sessions:
    tmux ls
  • Attach to a session:
    tmux a
  • Attach to a named session:
    tmux a -t name
  • Detach from session:
    Ctrl + B, D
  • Kill session:
    tmux kill-session -t name
  • Kill session when attached:
    Ctrl + B, x (then hit 'y' for yes)

© tl;dr; authors and contributors