Save Screen (program) output to a file

后端 未结 11 2506
长发绾君心
长发绾君心 2020-12-02 04:30

I need to save the whole output of Screen to a file to check later all the content.

The reason is that I\'m dumping a flash memory through a serial port, using Scree

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 05:31

    A different answer if you need to save the output of your whole scrollback buffer from an already actively running screen:

    Ctrl-a [ g SPACE G $ >.
    

    This will save your whole buffer to /tmp/screen-exchange

提交回复
热议问题