tmux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tmux [February 10, 2026 at 12:08] – yanevskiv | tmux [August 22, 2026 at 15:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # Tmux | ||
| + | |||
| + | **Tmux** is a terminal multiplexer that lets you run multiple terminals within one terminal. Create sessions that run in the background, create windows within sessions, and split windows into panes. Detach and reattach to sessions anytime—they keep running whether you're connected or not. | ||
| + | |||
| + | Think of it as a tiling window manager for the terminal. You don't need a graphical interface. You can run tmux over SSH, detach when your connection drops, and reattach later. Sessions, windows, and panes persist independently of terminal windows. | ||
| + | |||
| + | ```bash | ||
| + | $ tmux # create a new session | ||
| + | $ tmux attach | ||
| + | $ tmux list-sessions | ||
| + | $ tmux new-session -s name # create named session | ||
| + | ``` | ||
| + | |||
| + | The prefix key is `Ctrl+B` by default. Press it, release, then press the command (e.g., `Ctrl+B` then `d` to detach). Tmux is highly customizable via `~/ | ||
| + | |||
| + | ## Concepts | ||
| + | |||
| + | 1. [[tmux-sessions|Sessions]] | ||
| + | 2. [[tmux-windows|Windows]] | ||
| + | 3. [[tmux-panes|Panes]] | ||
| + | 4. [[tmux-key-bindings|Key bindings]] | ||
| + | 5. [[tmux-copy-mode|Copy mode]] | ||
| + | 6. [[tmux-command-mode|Command mode]] | ||
| + | 7. [[tmux-configuration|Configuration]] | ||
| + | 8. [[tmux-layouts|Layouts]] | ||
| + | 9. [[tmux-scripting|Scripting]] | ||
| + | 10. [[tmux-plugins|Plugins]] | ||
