Re: hello,I want to execute a screen in shell, and execute command form the screen, How can I do it, thanks
Kevin Van Workum <[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe try : #!/bin/bash exec screen -dmS hello screen -S hello -X "/root/b.sh\n" 2011/5/17 zheng senlin <[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 > > -- Kevin Van Workum, PhD Sabalcore Computing Inc. Run your code on 500 processors. Sign up for a free trial account. www.sabalcore.com 877-492-8027 ext. 11 _______________________________________________ screen-users mailing list screen-users-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users