From d78be663e1f36d17a11921af0478b88f1005eb2f Mon Sep 17 00:00:00 2001 From: geekpi Date: Wed, 25 Mar 2015 13:45:11 +0800 Subject: [PATCH] translated --- ...rips--Print IP address on a given range.md | 62 ------------------- ...rips--Print IP address on a given range.md | 60 ++++++++++++++++++ 2 files changed, 60 insertions(+), 62 deletions(-) delete mode 100644 sources/tech/20150324 Prips--Print IP address on a given range.md create mode 100644 translated/tech/20150324 Prips--Print IP address on a given range.md diff --git a/sources/tech/20150324 Prips--Print IP address on a given range.md b/sources/tech/20150324 Prips--Print IP address on a given range.md deleted file mode 100644 index d94116599f..0000000000 --- a/sources/tech/20150324 Prips--Print IP address on a given range.md +++ /dev/null @@ -1,62 +0,0 @@ -Translating---geekpi - -Prips – Print IP address on a given range -================================================================================ -prips is a tool that can be used to print all of the IP address on a given range. It can enhance the usability of tools that are made to work on only one host at a time. - -### Install Prips on ubuntu ### - -Open the terminal and run the following command - - sudo apt-get install prips - -### Using 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 ### - -The prips tool accepts the following command-line options: - -- -c -- Print the range in CIDR notation. -- -d delim -- Set the delimiter to the character with ASCII code delim where 0 <= delim <= 255. -- -e -- Exclude ranges from the output. -- -f format -- Set the format of addresses (hex, dec, or dot). -- -i incr -- Set the increment to ‘x'. - -### Prips Examples ### - -Display all the addresses in a reserved subnet: - - prips 192.168.32.0 192.168.32.255 - -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 10.0.0.1 10.255.255.255 - -Display every fourth address in a weird block: - - prips -i 4 192.168.32.7 192.168.33.5 - -Determine the smallest CIDR block containing two addresses: - - prips -c 192.168.32.5 192.168.32.11 - --------------------------------------------------------------------------------- - -via: http://www.ubuntugeek.com/prips-print-ip-address-on-a-given-range.html - -作者:[ruchi][a] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 - -[a]:http://www.ubuntugeek.com/author/ubuntufix diff --git a/translated/tech/20150324 Prips--Print IP address on a given range.md b/translated/tech/20150324 Prips--Print IP address on a given range.md new file mode 100644 index 0000000000..a628c1e122 --- /dev/null +++ b/translated/tech/20150324 Prips--Print IP address on a given range.md @@ -0,0 +1,60 @@ +Prips - 打印指定范围内的IP地址 +================================================================================ +prips是一个可以打印出指定范围内所有ip地址的一个工具。它可以增强那些只能同时工作在一个主机上的工具的可用性。 + +### 在ubuntu上安装prips ### + +打开终端并输入下面的命令 + + sudo apt-get install prips + +### 使用prips ### + +### prips语法 ### + + prips [-c] [-d delim] [-e exclude] [-f format] [-i incr] start end + prips [-c] [-d delim] [-e exclude] [-f format] [-i incr] CIDR-block + +### 可用选项 ### + +prips接受下面的命令行选项: + +- -c -- 以CIDR形式打印范围。 +- -d delim -- 用ASCII码作为分隔符,0 <= delim <= 255。 +- -e -- 排除输出的范围。 +- -f format -- 设置地址格式 (16进制, 10进制, 或者dot). +- -i incr -- 设置增长上限 + +### Prips示例 ### + +显示保留的子网内的所有地址: + + prips 192.168.32.0 192.168.32.255 + +同样使用CIDR标示: + + prips 192.168.32/24 + +只显示A类保留子网内所有可用的地址,用空格而不是换行作为分隔符: + + prips -d 32 10.0.0.1 10.255.255.255 + +每块显示4个ip地址: + + prips -i 4 192.168.32.7 192.168.33.5 + +打印包含两个地址的最小CIDR块。 + + prips -c 192.168.32.5 192.168.32.11 + +-------------------------------------------------------------------------------- + +via: http://www.ubuntugeek.com/prips-print-ip-address-on-a-given-range.html + +作者:[ruchi][a] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 + +[a]:http://www.ubuntugeek.com/author/ubuntufix