logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

holes — find runs of zero bytes

Authors

       Leah Neukirchen <leah@vuxu.org>

Description

holes  looks  for runs of zero bytes (a.k.a. holes) in the specified input files (or the standard input),
       and prints the start addresses (in hexadecimal) as well as the lengths (in decimal).  When multiple input
       files are specified, holes prefixes each line with the file name.

       The options are as follows:

       -bbyte
               Count runs of byte, a number between 0 and 255, instead of zero bytes.

       -nminlen
               Change minimum size of holes reported.  By default, only holes of at least 64 bytes are reported.

       -s      Print a summary at the end how many percent of the file are runs of zeroes.

Exit Status

       The holes utility exits 0 on success, and >0 if an error occurs.

License

holes is in the public domain.

       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/

Debian                                          November 8, 2017                                        HOLES(1)

Name

       holes — find runs of zero bytes

See Also

fallocate(1), truncate(1), virt-sparsify(1)

Synopsis

holes [-bbyte] [-nminlen] [-s] [files...]

See Also