kjo...@o2.pl (Kamil Jońca) writes:

> Frank Röhm <francwal...@gmx.net> writes:
>
>> Hello
>>
>> is it possible to start multiple screen sessions with each session with an 
>> own command which is immediately started in one script?
>> I want to start only one screen, and in this screen I need many sessions 
>> (normally started with ^A,C for create), but each session should directly 
>> start a command.
>>
> I think it should be named session ("test" in my example)
>
>
> screen -d -m -S test  
> screen -S test -X screen lynx pl.wikipedia.org  
> screen -S test -X screen lynx de.wikipedia.org  
>

after reviewing my answer I would emphasize, that most important thing
is "-X" switch here.

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html


_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to