Suppose I opened up a screen to run some program that outouts some result.
Once the program finishes, is there a way to get the result in the screen from outside.
- I opened up a screen using "screen -S myscreen"
- I detached from the screen
- The program in screen finishes
- I want the result in the screen by command like
screen --get-result-from myscreen
I am currently deploying a distributed task over several machines. I need someway to get the result without visiting each screen individually.
Any way to copy part of the content in screen? As there might be other irrelevant information.