screen

File Write

Data is appended to the file and `\n` is converted to `\r\n`.

screen -L -Logfile /path/to/output-file echo DATA

Data is appended to the file and `\n` is converted to `\r\n`.

screen -L /path/to/output-file echo DATA

Shell

screen