Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-24 00:19:06 +00:00
parent 94c28849c9
commit 0861ba59e2
165 changed files with 177 additions and 173 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# ipcalc
> A tool to calculate IP information (subnet, broadcast, host range) from an IP address and netmask.
> 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:
@@ -14,16 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Display network info using CIDR notation:
`ipcalc {{192.168.0.1/24}}`
`ipcalc {{192.168.0.1}}/{{24}}`
- Display network info using a separate netmask:
- Display network info using a dotted decimal netmask:
`ipcalc {{192.168.0.1}} {{255.255.255.0}}`
- Show only CIDR notation output:
- Suppress bitwise output:
`ipcalc {{[-c|--class]}} {{192.168.0.1/24}}`
`ipcalc {{[-b|--nobinary]}} {{192.168.0.1}}`
- Split a network into specified sized blocks:
`ipcalc {{[-s|--split]}} {{size1 size2 size3 ...}} {{192.168.0.1}}`
- Show version information:
`ipcalc --version`
`ipcalc {{[-v|--version]}}`