Re: screen script
Nick Atzert <[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <CAD66vtUCBcECDcebV0Y9LUGQrFqhB0MXi0B4E6GROuO_3p8G4Q@mail.gmail.com> |
I've considered doing it that way but the list of servers is constantly changing. I help maintain about 20,000 machines globally. It will never be the same list. On Fri, Nov 16, 2012 at 10:48 AM, Alan Young <[email protected]>wrote: > On Fri, Nov 16, 2012 at 8:59 AM, Nick Atzert <[email protected]> wrote: > > I'm trying to setup a script where I can pass it a list of servers, a > screen > > session would start with individual windows for each server and run a > script > > against each of those servers. > > You can setup a config file to look something like this: > > screen -t 'server1' 0 /bin/bash -c "/path/to/server1script" > screen -t 'server2' 0 /bin/bash -c "/path/to/server2script" > > Then call 'screen -c configfile'. > -- > Alan Young > _______________________________________________ screen-users mailing list screen-users-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users