Maybe try :
#!/bin/bash exec screen -dmS hello screen -S hello -X "/root/b.sh\n" 2011/5/17 zheng senlin <zhengsen...@gmail.com> > 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@gnu.org > 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@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users