Enter copy mode tmux
Enter scroll/copy mode; use arrows or vi keys to navigate
<prefix> [
more tmux
all 17 commands →
Synchronize panes
tmux setw synchronize-panes on
Send command to all panes
tmux list-panes -s -F '#{session_name}:#{window_index}.#{pane_index}' | xargs -I{} tmux send-keys -t {} 'uptime' Enter
Scripted detached session
tmux new-session -d -s work && tmux send-keys -t work 'tail -f /var/log/app.log' Enter
Capture pane scrollback
tmux capture-pane -p -S -3000 -t work > /tmp/pane.log
New named session
tmux new-session -s work