What does an asterisk "*" mean in hexdump output?
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5
--
Chapters
00:00 What Does An Asterisk &Quot;*&Quot; Mean In Hexdump Output?
00:24 Accepted Answer Score 88
00:40 Answer 2 Score 3
01:14 Thank you
--
Full question
https://superuser.com/questions/494245/w...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #dd #hexdump
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5
--
Chapters
00:00 What Does An Asterisk &Quot;*&Quot; Mean In Hexdump Output?
00:24 Accepted Answer Score 88
00:40 Answer 2 Score 3
01:14 Thank you
--
Full question
https://superuser.com/questions/494245/w...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #dd #hexdump
#avk47
ACCEPTED ANSWER
Score 88
A line in the hexdump output consisting just a *
means same as the line above
. This is mentioned in the hexdump's manpage at the -v
option (easy to be overlooked).
ANSWER 2
Score 3
As mentioned in the comments, without to verbose option to hexdump, -v
, the asterisk indicates "same as above". Most likely seen on empty files or parts thereof:
> hexdump -C -s 12 -n 32 test-data/blk00000.dat
0000000c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
0000002c
Adding the option -v
to hexdump gives the full result, which is especially useful, if the output is used as input to some other process:
> hexdump -v -C -s 12 -n 32 test-data/blk00000.dat
0000000c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0000001c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0000002c
(Answer added for completeness)