Created
January 26, 2014 10:42
-
-
Save gwijayas/8631041 to your computer and use it in GitHub Desktop.
check ip lan
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 $(seq 1 254); do ping -c 1 192.168.0.$ip>/dev/null; [ $? -eq 0 ] && echo "192.168.0.$ip UP" || : ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment