Hi Nick, On Fri, Nov 16, 2012 at 08:59:04AM -0700, Nick Atzert 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. > > Does anyone have anything like this setup already?
Yes: https://github.com/xtaran/ratpoison-desktop/blob/master/bin/terms There are likely some individual paths hardcoded, but otherwise it should do it. It also supports also a few other tools, the screen part starts from line 34: https://github.com/xtaran/ratpoison-desktop/blob/master/bin/terms#L34 It uses host lists, but you likely can strip it down to take host and usernames as commandline parameters. See https://github.com/xtaran/ratpoison-desktop/blob/master/hostlists/kiva for an example host list. Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | a...@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users