Skip to content

Instantly share code, notes, and snippets.

@jlk
Created October 19, 2015 15:02
Show Gist options
  • Save jlk/2553f73e8f15aace0931 to your computer and use it in GitHub Desktop.
Save jlk/2553f73e8f15aace0931 to your computer and use it in GitHub Desktop.
ping test
#!/bin/sh
x=1
while [ $x -lt 255 ];
do
ping 10.0.0.$x 1
x=`expr $x + 1`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment