Skip to content

Instantly share code, notes, and snippets.

@rubeniskov
Created June 12, 2018 22:19
Show Gist options
  • Save rubeniskov/13ddaec0e160975c6333e6e9d08b09c3 to your computer and use it in GitHub Desktop.
Save rubeniskov/13ddaec0e160975c6333e6e9d08b09c3 to your computer and use it in GitHub Desktop.
Discover network devices macos
ping -c 2 $(ifconfig | grep broadcast|awk '{print $6}') >/dev/null && arp -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment