tmux Reference

All Posts

tmux is a terminal multiplexier. I personally find it an invaluable tool for working with remote devices such as a home server, VPS or Raspberry Pi as tmux allows you to run commands without worrying about connection issues.

This reference is intended to be a high level overview for everyday use, not an exhaustive guide. To learn more, try visiting tmuxcheatsheet.com or github.com/tmux/tmux .

Usage

Start a new session, with the provided name:

tmux new -s name

Detach from a session:

CTRL + B, then D

Attach to the last session:

tmux a

Attach to a session with the provided name:

tmux a -t name

Kill a session with the provided name:

tmux kill-ses -t name