2019-03-12 18:41:10 +01:00
|
|
|
---
|
|
|
|
functions:
|
|
|
|
shell:
|
|
|
|
- code: screen
|
|
|
|
file-write:
|
2019-12-04 02:25:49 +01:00
|
|
|
- description: This works on screen version 4.06.02. Data is appended to the file and `\n` is converted to `\r\n`.
|
2019-03-12 18:41:10 +01:00
|
|
|
code: |
|
|
|
|
LFILE=file_to_write
|
2019-12-04 02:25:49 +01:00
|
|
|
screen -L -Logfile $LFILE echo DATA
|
|
|
|
- description: This works on screen version 4.05.00. Data is appended to the file and `\n` is converted to `\r\n`.
|
2019-03-12 18:41:10 +01:00
|
|
|
code: |
|
|
|
|
LFILE=file_to_write
|
2019-12-04 02:25:49 +01:00
|
|
|
screen -L $LFILE echo DATA
|
2019-03-12 18:41:10 +01:00
|
|
|
sudo:
|
|
|
|
- code: sudo screen
|
|
|
|
---
|