A simple bash script to calculate the number of hosts in a given subnet, or range. This script accepts both single CIDR and a file containg CIDR, range or Just IP.
./hostcalc.sh <CIDR>./hostcalc.sh <IP file>| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simple bash script to calculate the number of hosts in a given subnet, or range. This script accepts both single CIDR and a file containg CIDR, range or Just IP.
./hostcalc.sh <CIDR>./hostcalc.sh <IP file>