Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxfight3r/080fe5f0db2c57a9e4b3 to your computer and use it in GitHub Desktop.
Save tuxfight3r/080fe5f0db2c57a9e4b3 to your computer and use it in GitHub Desktop.
ping scan a subnet quickly
#Ping scan a subnet
seq 254 | xargs -P255 -I% sh -c "ping -q -c1 -w1 192.168.0.% > /dev/null || echo 192.168.0.% DOWN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment