This question already has an answer here:

I have a screen instance running and i want to get output of that instance current 'screen' without getting in to the session. Will something like that be possible? (The instance in running a program that produces output every few seconds)

marked as duplicate by dhag, meuh, Jesse_b, Jeff Schaller, Rui F Ribeiro linux Feb 14 '18 at 0:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.