Install holes by entering the following commands in the terminal:
sudo apt update sudo apt install holes
Description:
find runs of zero bytes
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. . It can be used with fallocate(1), truncate(1), or virt-sparsify(1).
Homepage: https://github.com/chneukirchen/holes
Version: 0.1-2
Section: universe/utils