Switch window by number tmux
Jump to window by its index number
<prefix> 0-9
more tmux
all 17 commands →
Enter copy mode
<prefix> [
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