Last active
November 8, 2015 07:47
-
-
Save rskelley9/6d30a7789681a1364b25 to your computer and use it in GitHub Desktop.
Count the Number of Hosts on Your 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
List the hosts on your LAN, their MAC addresses and IP's and then count them: | |
``` | |
$ arp -an | tee >(wc -l) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment