Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Bash – Get ARIN IP Information
A bit crude but works
A bit crude but works
Every once in a while you need to get some basic network information from your Mac or a Mac you are supporting, this script below will help get you some helpful information.
This first function is helpful to provide a range of IPv4 addresses within a set range This next function will get the broadcast IPv4 address from a CIDR range Next this function will detect if a specified IPv4 address is in the range This next function will convert an IPv4 address to a Bin This…