📜  如何获取两个 ip 地址并执行算术 bash - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:26.286000             🧑  作者: Mango

代码示例1
# 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}'