Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

piger/netmask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

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.

About

Simple utility to work with network ranges.

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle によって変換されたページ (->オリジナル) /