command
module
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: May 26, 2022
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
netmask
A very simple utility to work with CIDR ranges; it can list all IP addresses in a range or check if an address is part of a range.
Usage
To list all addresses in a range:
netmask 192.168.0.0/24
To check if an address is part of a range:
netmask 192.168.0.0/24 192.168.0.1
The exit code will be 0
if the address is part of the range and 1
if it isn't.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.