1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 15:45:59 +02:00

ipcalc: add concrete values

This commit is contained in:
Raymond Douglas 2018-09-03 15:20:14 -07:00 committed by Agniva De Sarker
parent 2cda19e75b
commit 2332740b8f

View file

@ -4,20 +4,20 @@
- Show information about an address or network:
`ipcalc {{ip_address}} {{subnet_mask}}`
`ipcalc {{1.2.3.4}} {{255.255.255.0}}`
- Show information about an address or network in CIDR notation:
`ipcalc {{ip_address}}/{{masked_bits}}`
`ipcalc {{1.2.3.4}}/{{24}}`
- Show the broadcast address of an address or network:
`ipcalc -b {{ip_address}}/{{masked_bits}}`
`ipcalc -b {{1.2.3.4}}/{{30}}`
- Show the network address of provided IP address and netmask:
`ipcalc -n {{ip_address}}/{{masked_bits}}`
`ipcalc -n {{1.2.3.4}}/{{24}}`
- Display geographic information about a given IP address:
`ipcalc -g {{ip_address}}`
`ipcalc -g {{1.2.3.4}}`