Unable to specify custom output screenlog.0 file with -L flag
The screen package needs to change the -L switch feature so that a screenlog.0 filename can be given a specific directory/filename output such as doing:
screen -L /tmp/screenlog.1 (2, 3, etc)
Otherwise in order to run multiple screens with -L they each have to be executed from different directories, because they'd all output to the same screenlog.0 file.
The only alternative workaround to this is doing:
screen -dmS workspace | tee screen.log
or
screen -dmS workspace && screen -S workspace -X stuff $'<command> | tee screen.log\n'
Conclusion, To recode the -L switch to allow to explicitly specify custom filename/directory location for screenlog.0 output ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu screen Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Demon
Can you help with this problem?
Provide an answer of your own, or ask Demon for more information if necessary.