Skip to content

Instantly share code, notes, and snippets.

@rskelley9
Last active November 8, 2015 07:47
Show Gist options
  • Save rskelley9/6d30a7789681a1364b25 to your computer and use it in GitHub Desktop.
Save rskelley9/6d30a7789681a1364b25 to your computer and use it in GitHub Desktop.
Count the Number of Hosts on Your LAN
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