Prips-print IP addresses in the specified range

Source: Internet
Author: User

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

  1. sudo apt-get install prips
Use prips

Prips syntax

  1. prips [-c][-d delim][-e exclude][-f format][-i incr] start end
  2. 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:

  1. prips 192.168.32.0192.168.32.255

The same as above, marked with CIDR:

  1. 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:

  1. prips -d 3210.0.0.110.255.255.255

Four IP addresses are displayed for each instance:

  1. prips -i 4192.168.32.7192.168.33.5

Print the minimum CIDR block containing two addresses.

  1. prips -c 192.168.32.5192.168.32.11

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.