$linuxjunkies
>

tmux

also: terminal multiplexer

tmux is a terminal multiplexer that allows you to run multiple terminal sessions within a single window, switch between them, and detach/reattach sessions without losing their state.

tmux (terminal multiplexer) lets you split your terminal into multiple panes, create multiple windows within a single session, and manage them all without opening additional terminal windows. This is especially powerful for remote work since you can detach a session and reattach it later, even from a different machine.

For example, you might create one tmux session with three windows: one for editing code in vim, another running a development server, and a third for git commands. You can switch between windows with keyboard shortcuts and split any window into multiple panes to work on tasks side-by-side.

The key advantage is persistence: if your SSH connection drops, your tmux session continues running on the remote server. When you reconnect and reattach, all your work is exactly as you left it. This makes tmux essential for reliable remote development workflows.

Related terms