screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Start multiple screen-sessions per script


From: Kamil Jońca
Subject: Re: Start multiple screen-sessions per script
Date: Wed, 04 Mar 2015 22:11:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Kamil Jońca) writes:

> Frank Röhm <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]