2
我想写一个bash脚本来打开多个屏幕并将它们分开。所以最后你会打开几个屏幕,每个屏幕运行一个不同的命令。bash脚本与屏幕
类似ssh
:
ssh DESTINATION "command 1; command 2;"
我的想法是写这样的:
screen -S name1 "command1"
screen -S name2 "command2"
...
但是,这是行不通的。
想法?
可以请你举个例子 – Guy 2010-10-18 16:36:50
'screen -d -m ...' – 2010-10-18 16:39:01
作品很有魅力 - 谢谢你! – Guy 2010-10-18 16:44:50