Skip to content

Instantly share code, notes, and snippets.

@ryanobjc
Created July 13, 2012 23:23
Show Gist options
  • Save ryanobjc/3108189 to your computer and use it in GitHub Desktop.
Save ryanobjc/3108189 to your computer and use it in GitHub Desktop.
#!/bin/sh
HOSTS="a b c d e"
echo `hostname`
for i in $HOSTS ; do
host $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment