Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
morcheeba
· 2y ago · 0 comments
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
Comments
[–]
anthk
2y ago
Use xxd or od then.