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:
parent
2cda19e75b
commit
2332740b8f
1 changed files with 5 additions and 5 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue