3 ms·
hexdump will automatically does "squeezing" of repeated lines. Follow this with a line count and multiply by the bytes/line and you'll get a rough number of no
by morcheeba 2y ago
hexdump will automatically does "squeezing" of repeated lines. Follow this with a line count and multiply by the bytes/line and you'll get a rough number of non-repetitive bytes.
https://man7.org/linux/man-pages/man1/hexdump.1.html https://man7.org/linux/man-pages/man1/hexdump.1.html
- anthk 2y agoUse xxd or od then.