Created
January 2, 2012 12:54
-
-
Save imCoding/1550580 to your computer and use it in GitHub Desktop.
IP SCAN - Linux Terminal.
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
| for IP in 192.168.1.{100..120}; | |
| do if ping $IP -c 1 > /dev/null; | |
| then echo $IP TAKEN; | |
| else echo $IP FREE; | |
| fi;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment