1
0
Fork 0
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:
Alex Gekas 2025-04-22 00:28:29 -04:00 committed by GitHub
parent 05cda9bca4
commit 4912781d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
pages/common/ipcalc.md Normal file
View 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`