Save pane scrollback

Save the last 3000 lines of a pane to a file for review, without attaching

tmux capture-pane -p -S -3000 -t work > /tmp/pane.log

tool
tmux17 commands
tags
tmuxdebugobservability

More tmux commands

all 17 tmux commands