hello,I want to execute a screen in shell, and execute command form the screen, How can I do it, thanks

zheng senlin <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
fivetrees ~ # cat hello.sh

#!/bin/bash

exec screen -dmS hello     # I have open a screen in the background
#exec screen -r hello  /root/b.sh   # I want to execute /root/b.sh on the
screen hello,How can I do it? thanks



------------------------------------------------------
祝:工作顺利  心情愉悦!

致 礼!
                     郑森林,fivetrees

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
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.