# tmux: Panes, Windows and Sessions

tmux runs several terminals inside one window, split into panes and windows, and keeps them in a session that goes on running when you detach, close the window or lose the connection to a server, so you can attach again and carry on.

![Cheat sheet for the lesson tmux: Panes, Windows and Sessions: tmux runs several terminals inside one window, split into panes and windows, and keeps them in a session that goes on running when you detach, close the window or lose the connection to a server, so you can attach again and carry on.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/050b7da48eba447e84faad38288b01b9.webp)

- Category: Bash
- Level: Journeyman
- Tags: linux, prefix-key, ssh, terminal-multiplexer, tmux, tmux-session, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-tmux-cheat-sheet
