Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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}'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ip #addresses #perform #arithemetic #bash
ADD COMMENT
Topic
Name
1+5 =