tmux Sessions, Windows, and Panes/Broadcast input to all panes

Type into all panes at once.

Section: Windows and panes

Broadcast input to all panes

bash
bash
tmux set-window-option synchronize-panes on
Explanation

Great for running the same command across multiple hosts, but turn it off afterward.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Windows and panes
Create a new window
Open a fresh window in the current session.
OpenIn sheetbashsame section
Split pane left/right
Create a horizontal split.
OpenIn sheetbashsame section
Split pane top/bottom
Create a vertical split.
OpenIn sheetbashsame section
Tile all panes
Arrange panes in a tiled layout.
OpenIn sheetbashsame section
Resize pane to the left
Shrink or grow with an explicit size delta.
OpenIn sheetbashsame section
Swap panes
Swap the current pane with another pane.
OpenIn sheetbashsame section