On 6/24/2020 2:53 PM, Dario Lesca wrote:
<snip>
A Curiosity... I read from man page: "-X Send the specified command
to a running screen session."
Which are these "specific command" that I can send to screen?
I'm no expert on "screen", but, after some experimentation...
It appears to me that the "specified command" is one of the commands
listed in the CUSTOMIZATION section of the "screen" manual page. Some
easy examples are:
$ screen -S aSessionName -X quit # Quit the specified screen session.
$ screen -S aSessionName -X display # Show a table listing of all
currently connected displays.
$ screen -S aSessionName -X exec /bin/sh # Start a new shell in the
specified session's current screen-window.
-- Steve Ross