Tobia Conforto <[EMAIL PROTECTED]> said
(on Thu, Jun 12, 2008 at 12:59:00PM +0200):
> I use the split feature of screen to open many ssh sessions. This
> allows me to send commands to the various hosts and see all the
> results in the same screen. But often I'd like to send the same
> command to all hosts without having to copy and paste it or type it
> over again.
The following does not 'focus' on all windows, but will allow you to send
a command to all/selected windows:
C-a : at ssh# stuff 'mycommand 1 2 3'
You should read the screen manpage - for the 'at' command for more info.
This list's archive has a lot of examples of using screen's 'at' command.
--
Geraint A. Edwards (aka "Gedge")
[EMAIL PROTECTED]
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users