Prips-print IP addresses in the specified range
Prips is a tool that can print all IP addresses in a specified range. It enhances the availability of tools that can only work on one host at a time.
Install prips on Ubuntu
Open the terminal and enter the following command
sudo apt-get install prips
Use prips
Prips syntax
prips [-c][-d delim][-e exclude][-f format][-i incr] start end
prips [-c][-d delim][-e exclude][-f format][-i incr] CIDR-block
Available options
Prips accepts the following command line options:
- -C -- print the range in the form of CIDR.
- -D Separator -- use ASCII code as the separator, 0 <= separator <= 255.
- -E -- exclude the output range.
- -F format -- set the address format (hex: hexadecimal, dec: 10hexadecimal, or dot: separated by dots ).
- -I growth-set the upper limit of growth
Prips example
Show all addresses in the reserved subnet:
prips 192.168.32.0192.168.32.255
The same as above, marked with CIDR:
prips 192.168.32/24
Only show all available addresses in the subnet reserved by Class A, and use spaces instead of line breaks as the separator:
prips -d 3210.0.0.110.255.255.255
Four IP addresses are displayed for each instance:
prips -i 4192.168.32.7192.168.33.5
Print the minimum CIDR block containing two addresses.
prips -c 192.168.32.5192.168.32.11
This article permanently updates the link address: