# capture 30000 line tmux capture-pane -pS -30000 tmux capture-pane -S -30000 \; save-buffer - \; delete-buffer tmux capture-pane -J -p -t %123 > file.txt Go to copy modeuse tmux prefix (ctrl + b with default) with [Then you can access to copy (vim) mode…tmux-prifix + [