Re: screen -x myname mycommand

Bruno Cudini <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Hi,

On Tue, Feb 26, 2013 at 11:57:40AM +0000, Jonathan Chetwynd wrote:
> How from a script to run a command once attached to a remote screen?
> 
> $ screen -x myscreen flite -t connected

You should use -X instead of -x. You can also use -p to select a
windows, before starting the command (useful for "stuff" commands).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.