Tmux
Properties
created
20.05.2026, 10:00
modified
26.07.2026, 13:30
published
Empty
sources
tmux GitHub · tmux wiki
topics
Terminal, Terminal Multiplexer
authors
Opus 4.7
ai-assisted
Yes
- Terminal multiplexer that allows multiple terminal sessions to be accessed within a single window
- Sessions persist after disconnecting, allowing detach/reattach across SSH connections
# Concepts
- Session
- Top-level container, persists in the background; can be detached and reattached
- Window
- Like a tab inside a session; each window has its own working directory and processes
- Pane
- A split inside a window (horizontal or vertical); each pane runs a separate shell
# Prefix Key
- Default prefix:
Ctrl+b(commonly remapped toCtrl+a) - Most commands are issued by pressing the prefix, then a key
# Common Commands
- Sessions
tmux new -s <name>- Create a new named session
tmux ls- List sessions
tmux attach -t <name>- Attach to a session
prefix + d- Detach from current session
- Windows
prefix + c- Create new window
prefix + n/prefix + p- Next / previous window
prefix + ,- Rename window
- Panes
prefix + %- Split vertically
prefix + "- Split horizontally
prefix + <arrow>- Move between panes
prefix + z- Zoom / unzoom pane
prefix + x- Close pane
# Configuration
- Config file:
~/.tmux.conf - Plugin manager: tpm
- Popular plugins
tmux-resurrect— save and restore sessions across rebootstmux-continuum— automatic save/restore on a timertmux-yank— system clipboard integration