prips — print the IP addresses in a given range
Contents
Bugs
Please report any bugs in the prips tool to its current maintainer, Peter Pentchev.
Debian March 1, 2011 PRIPS(1)
Description
The prips tool can be used to print all of the IP addresses in a given range. It can enhance tools that
only work on one host at a time, e.g. whois(1).
The prips tool accepts the following command-line options:
-c Print the range in CIDR notation.
-ddelim
Set the delimiter to the character with ASCII code delim where 0 <= delim <= 255.
-e<x.x.x,x.x>
Exclude ranges from the output.
-fformat
Set the format of addresses (hex, dec, or dot).
-h Show summary of options.
-iincr
Set the increment to 'x'.
Diagnostics
The prips utility exits 0 on success, and >0 if an error occurs.
Environment
The prips tool's operation is not influenced by any environment variables.
Examples
Display all the addresses in a reserved subnet:
prips192.168.32.0192.168.32.255
The same, using CIDR notation:
prips192.168.32.0/24
Display only the usable addresses in a class A reserved subnet using a space instead of a newline for a
delimiter:
prips-d3210.0.0.110.255.255.255
Display every fourth address in a weird block:
prips-i4192.168.32.7192.168.33.5
Determine the smallest CIDR block containing two addresses:
prips-c192.168.32.5192.168.32.11Files
The prips tool's operation is not influenced by any files.
History
The prips tool was originally written by Daniel Kelly and later adopted by Peter Pentchev. This manual
page was originally written by Juan Alvarez for the Debian GNU/Linux system and later added to the prips
distribution and converted to mdoc format by Peter Pentchev.
Name
prips — print the IP addresses in a given range
See Also
ipsc(1), gipsc(1)
Standards
No standards were harmed in the writing of the prips tool.
Synopsis
prips [-c] [-ddelim] [-eexclude] [-fformat] [-iincr] startendprips [-c] [-ddelim] [-eexclude] [-fformat] [-iincr] CIDR-blockprips-h
