cidr2ipSmall and simple program for converting a CIDR into a netmask |
|
git clone https://noxz.tech/git/cidr2ip.git | |
cidr2ip |
commit: f7cb0a3a4b9066c603f52d3cbb11056d28c1b2eb parent: ea772c01b89c5fe181509411be0ff655199f7eae author: z0noxz <chris@noxz.tech> date: Fri, 3 Aug 2018 22:00:53 +0200
update README.md
M | README.md | 7 | +++++++ |
diff --git a/README.md b/README.md @@ -1,2 +1,9 @@ # cidr2ip Converts CIDR to IPADDRESS + +install using `cp ./cidr2ip /usr/local/bin` or similar. + +## print complete table +``` +for i in {1..32}; do printf '\\%-5s' $i; cidr2ip $i;done +```