source: branches/locker-dev/locker/bin/for-each-server @ 2345

Last change on this file since 2345 was 1782, checked in by geofft, 14 years ago
for-each-server: Remove dependency on machtype and simplify code
  • Property svn:executable set to *
File size: 142 bytes
Line 
1#!/bin/sh
2
3for server in `finger @scripts.mit.edu | sed -n -e "1,5d" -e "s/  -> \([^:]*\):.*/\1/p" | sort -u`; do
4    ssh "$server" "$@"
5done
Note: See TracBrowser for help on using the repository browser.