tmux
Terminal multiplexer. It allows multiple sessions with windows, panes, and more. See also: zellij, screen. More information: <https://github.com/tmux/tmux>.
Install
- All systems
-
curl cmd.cat/tmux.sh
- Debian
-
apt-get install tmux
- Ubuntu
-
apt-get install tmux
- Alpine
-
apk add tmux
- Arch Linux
-
pacman -S tmux
- Kali Linux
-
apt-get install tmux
- CentOS
-
yum install tmux
- Fedora
-
dnf install tmux
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install tmux
- OS X
-
brew install tmux
- Raspbian
-
apt-get install tmux
- Dockerfile
- dockerfile.run/tmux
- Docker
-
docker run cmd.cat/tmux tmux
powered by Commando
Terminal multiplexer. It allows multiple sessions with windows, panes, and more. See also: zellij, screen. More information: <https://github.com/tmux/tmux>.
-
Start a new session:
tmux
-
Start a new named session:
tmux new -s name
-
List existing sessions:
tmux ls
-
Attach to the most recently used session:
tmux attach
-
Detach from the current session (inside a tmux session):
<Ctrl>-B d
-
Create a new window (inside a tmux session):
<Ctrl>-B c
-
Switch between sessions and windows (inside a tmux session):
<Ctrl>-B w
-
Kill a session by name:
tmux kill-session -t name
© tl;dr; authors and contributors