PRIPS(1)
π PRIPS(1) π
okay so bestie, this is the manual page for prips, from the General Commands Manual section. she's little, she's mighty, and she prints IP addresses. let's get into it π
πΈ NAME πΈ
prips β print the IP addresses in a given range β¨
π¦ SYNOPSIS π¦
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 -h
π DESCRIPTION π
so the whole vibe of prips is: you give her an IP range, she gives you every single IP address in that range. that's it. that's the job. periodt π
and like, why do you care? because there are tools out there that only know how to deal with one host at a time, and prips is the friend who feeds them the whole guest list one by one. the manpage literally name-drops whois(1) as an example. so you pipe, you loop, you slay π«Ά
β¨ the options, bestie β¨
here's every flag she takes, no skips, no cuts:
-cβ print the range in CIDR notation. cute and compact.-d delimβ set the delimiter to the character whose ASCII code isdelim, where0 <= delim <= 255. (yes, it's a number, not the character itself. read it twice, i did too π)-e <x.x.x,x.x>β exclude ranges from the output.-f formatβ set the format of addresses:hex,dec, ordot.-hβ show a summary of the options. the little "hi hello what do you need" flag π-i incrβ set the increment tox. skip-ahoy.
π ENVIRONMENT π
ngl this part is a nothing-burger, and i love that for her: the prips tool's operation is not influenced by any environment variables. zero. none. she's unbothered π
π FILES π
same energy, bestie: the prips tool's operation is not influenced by any files. she needs nothing from your filesystem. lowkey iconic π
β EXAMPLES β
this is the fun part, let's actually do stuff:
display all the addresses in a reserved subnet:
prips 192.168.32.0 192.168.32.255
the same thing, but using CIDR notation:
prips 192.168.32.0/24
display only the usable addresses in a class A reserved subnet, using a space instead of a newline as the 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
see how each one's doing a little something different? chef's kiss π that -d 32 one is a space, btw, because 32 is the ASCII code for space. iykyk πΈ
π DIAGNOSTICS π
the prips utility exits 0 on success, and >0 if an error occurs. that's the whole story. if it's zero, we're good; if it's anything bigger, something went sideways π
π₯ SEE ALSO π₯
ipsc(1), gipsc(1) β go say hi to the cousins π¦
π STANDARDS π
No standards were harmed in the writing of the prips tool. (this is a direct quote, i would never lie to you, and honestly? iconic behavior. she said "we're not doing that today" π )
π HISTORY π
so here's the lore: the prips tool was originally written by Daniel Kelly, and was later adopted by Peter Pentchev. this manual page was originally written by Juan Alvarez for the Debian GNU/Linux system, and was later added to the prips distribution and converted to mdoc format by Peter Pentchev. a whole glow-up arc, we love to see it π
π AUTHORS π
- Daniel Kelly β¨dan@vertekcorp.comβ©
- Juan Alvarez β¨jalvarez@fluidsignal.comβ©
- Peter Pentchev β¨roam@ringlet.netβ©
the founding mothers... i mean, the founding legends π«Ά
π BUGS π
found a bug? don't be shy, bestie β please report any bugs in the prips tool to its current maintainer, Peter Pentchev. he's the one holding the aux cord now π
also, just so you know where this page comes from: it's the Debian build, dated March 1, 2011. that's the source and the date, and that's your sign-off, mwah πβ¨
π¦ where this page comes from
- ubuntu resolute: prips 1.3.1-1 Β· GPL-2.0-or-later
- ubuntu stonking: prips 1.3.1-2 Β· GPL-2.0-or-later
- π the page's license: GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms