示例:我有这个网络掩码:255.255.255.0
在 bash 中,是否有一个命令或一个简单的脚本来将我的网络掩码转换为符号 /24?
bash netmask cidr
bash ×1
cidr ×1
netmask ×1