Target Syntax in tmux

From the tmux cheat sheet ยท Targets and Commands ยท verified Aug 2026

Target Syntax

Address sessions, windows, and panes.

bash
session:window.pane
work:editor.1
๐Ÿ“Œ The full form is session:window.pane
๐Ÿ’ก Names are clearer than changing indexes
๐Ÿ” $ IDs identify sessions and % IDs identify panes
โš ๏ธ Quote shell values passed through send-keys
targetssyntaxautomation

Continue with tmux

Save the full cheat sheet or work through every related task.

More tmux tasks

Back to the full tmux cheat sheet