Created
November 17, 2016 14:12
-
-
Save pgharios/b20284a26bd53e4e61d64d2d5cf8ae33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for ip in $(seq 1 254);do | |
| ping -c 1 10.11.1.$ip | grep "bytes from" | cut -d" " -f 4 | cut -d":" -f 1 & | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment