Ubuntu – How to save scrollback history in byobu

byobu

I've had an interesting terminal session in byobu, and I'd like to save the terminal output (commands and all) to a file – how can I do that?

According to the byobu man page:

Ctrl-a ~ – Save the current window's scrollback buffer

This may indeed be doing something, but I've found no indication of where and under what name it might be saved.

Best Answer

Or, you can simply use Byobu's hotkey for this:

  • Shift-F7

That will take your history and put it into $BYOBU_RUN_DIR/printscreen.

Related Question