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
More tmux commands
-
tmux new-session -s workStart a new tmux session called "work"
-
tmux attach-session -t workAttach to an existing session by name
-
tmux lsShow all running tmux sessions
-
<prefix> dLeave the current session; it keeps running in the background
-
tmux kill-session -t workClose a named session and all its windows