I think that the real answer for this question is: od
Info from the man pages…
od – dump files in octal and other formats
DESCRIPTION
Write an unambiguous representation, octal bytes by default, of FILE to standard output. With more than one FILE argument, concatenate them in
the listed order to form the input. With no FILE, or when FILE is -, read standard input.
In manpages:
Hexdump:
DESCRIPTION
The hexdump utility is a filter which displays the specified files, or
the standard input, if no files are specified, in a user specified for-
mat.
I think that the real answer for this question is: od
Info from the man pages…
od – dump files in octal and other formats
DESCRIPTION
Write an unambiguous representation, octal bytes by default, of FILE to standard output. With more than one FILE argument, concatenate them in
the listed order to form the input. With no FILE, or when FILE is -, read standard input.
In manpages:
Hexdump:
DESCRIPTION
The hexdump utility is a filter which displays the specified files, or
the standard input, if no files are specified, in a user specified for-
mat.
od – dump files in octal and other formats
In my opnion the answer should be od
The correct answer is od, even pass4sure has it as od.