Skip to content

tmux save scrollback to a file

Before each command, run the prefix (default Ctrl+B).

:capture-pane -pane -S -3000
:save-buffer buffer.txt

This will write all scrollback from that pane to a file ~/buffer.txt.

Published inenglish

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *