prips(1) print the IP addresses in a given range


[-c ] [-d delim ] [-e exclude ] [-f format ] [-i incr ] start end
[-c ] [-d delim ] [-e exclude ] [-f format ] [-i incr ] CIDR-block


The 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 tool accepts the following command-line options:

Print the range in CIDR notation.
-d delim
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.
-f format
Set the format of addresses (hex, dec, or dot).
Show summary of options.
-i incr
Set the increment to 'x'.


The tool's operation is not influenced by any environment variables.


The tool's operation is not influenced by any files.


Display all the addresses in a reserved subnet:


The same, using CIDR notation:

prips 192.168.32/24

Display only the usable addresses in a class A reserved subnet using a space instead of a newline for a delimiter:

prips -d 32

Display every fourth address in a weird block:

prips -i 4

Determine the smallest CIDR block containing two addresses:

prips -c


Ex -std


No standards were harmed in the writing of the tool.


The tool was originally written by An Daniel Kelly and later adopted by An Peter Pentchev . This manual page was originally written by An Juan Alvarez for the Debian GNU/Linux system and later added to the distribution and converted to mdoc format by An Peter Pentchev .


An Daniel Kelly Aq [email protected] An Juan Alvarez Aq [email protected] An Peter Pentchev Aq [email protected]


Please report any bugs in the tool to its current maintainer, An Peter Pentchev .