Site Tools


tmux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tmux [February 09, 2026 at 11:17] yanevskivtmux [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                   # reattach to last session
 +$ tmux list-sessions            # list all 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 `~/.tmux.conf`.
 +
 +## 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]]