Save Screen (program) output to a file

后端 未结 11 2445
长发绾君心
长发绾君心 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条回答
  •  無奈伤痛
    2020-12-02 05:35

    There is a command line option for logging. The output is saved to screenlog.n file, where n is a number of the screen. From man pages of screen:

    ‘-L’ Tell screen to turn on automatic output logging for the windows.

提交回复
热议问题