mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 10:35:48 +02:00
ipcalc: add page (#16132)
This commit is contained in:
parent
05cda9bca4
commit
4912781d40
1 changed files with 24 additions and 0 deletions
24
pages/common/ipcalc.md
Normal file
24
pages/common/ipcalc.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue