mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
ipcalc: add page (#16132)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# ipcalc
|
||||
|
||||
> A tool to calculate IP information (subnet, broadcast, host range) from an IP address and netmask.
|
||||
> More information: <https://manned.org/ipcalc>.
|
||||
|
||||
- Display network info for an IP address:
|
||||
|
||||
`ipcalc {{192.168.0.1}}`
|
||||
|
||||
- Display network info using CIDR notation:
|
||||
|
||||
`ipcalc {{192.168.0.1/24}}`
|
||||
|
||||
- Display network info using a separate netmask:
|
||||
|
||||
`ipcalc {{192.168.0.1}} {{255.255.255.0}}`
|
||||
|
||||
- Show only CIDR notation output:
|
||||
|
||||
`ipcalc {{[-c|--class]}} {{192.168.0.1/24}}`
|
||||
|
||||
- Show version information:
|
||||
|
||||
`ipcalc --version`
|
||||
Reference in New Issue
Block a user