> For the complete documentation index, see [llms.txt](https://thamizhiniyancs.gitbook.io/cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thamizhiniyancs.gitbook.io/cheatsheets/terminal-multiplexers/tmux.md).

# Tmux

{% embed url="<https://github.com/tmux/tmux/wiki>" %}

tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.

## Common

| **COMMAND**              | **DESCRIPTION**                                 |
| ------------------------ | ----------------------------------------------- |
| `tmux`                   | Launch Tmux                                     |
| `tmux -V`                | Check Tmux version                              |
| `tmux list-keys \| less` | List all commands                               |
| `tmux ls`                | Show all sessions                               |
| `tmux info`              | Show every session, window, and pane            |
| `tmux a`                 | (Re)attach to the most recently created session |
| `man tmux`               | Display full manual of Tmux                     |

<br>
