HOLES(1)
π HOLES π
okay bestie, so this is the manual page for holes β the little tool that finds runs of zero bytes. yeah. it's giving forensic file detective. let's get into it π΅οΈβοΈβ¨
β¨ SYNOPSIS β¨
holes [-b byte] [-n minlen] [-s] [files ...]
πΈ DESCRIPTION πΈ
so holes goes looking for runs of zero bytes (a.k.a. holes, hence the name, the branding is immaculate) inside the input files you give it β or in the standard input if you don't give it any files at all, she's flexible like that π
then she prints out:
- the start addresses β in hexadecimal
- the lengths β in decimal
and when you hand her multiple input files, she's gonna prefix each line with the file name so you actually know which file is which. organized queen. π
the options are as follows, and yes we're going through every single one, no skips:
-b byteβ instead of counting runs of zero bytes, count runs ofbyte, which has to be a number between0and255. custom hole flavor, obsessed π-n minlenβ changes the minimum size of holes reported. by default, only holes of at least64bytes get reported. so like, tiny baby holes? not invited. π-sβ prints a summary at the end telling you how many percent of the file are runs of zeroes. the vibe check at the end of the journey πβ¨
π EXIT STATUS π
the holes utility exits 0 on success, and >0 if an error occurs. slay = 0, not slay = bigger than 0. no in between. periodt.
π¦ SEE ALSO π¦
go read those too, bestie, they're all in the same friend group π«Ά
π AUTHORS π
Leah Neukirchen <leah@vuxu.org> β the icon, the legend, the moment. πβ
π LICENSE π
holes is in the public domain. literally free, no strings, no cap. π
to the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
http://creativecommons.org/publicdomain/zero/1.0/
and that's the whole page, bestie π this beauty shipped with Debian, dated November 8, 2017 β a classic that still eats, no notes. now go find some holes. π³οΈβ¨
π¦ where this page comes from
- debian bookworm: holes 0.1-5 Β· CC0-1.0
- ubuntu jammy: holes 0.1-5 Β· CC0-1.0
- ubuntu noble: holes 0.1-5 Β· CC0-1.0
- ubuntu resolute: holes 0.1-5 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms