mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 14:48:39 +00:00
Update cheatsheets
This commit is contained in:
16
tldr/ipcalc
16
tldr/ipcalc
@@ -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]}}`
|
||||
|
||||
Reference in New Issue
Block a user