how to take two ip addresses and perform arithemetic bash code example
Example: how to take two ip addresses and perform arithemetic bash
# This will take a CIDR block and calculate the number of addresses within that range.
nmap -sL -n 10.10.64.0/27 | awk '/Nmap scan report/{print $NF}'