od
See aA\n in ascii, decimal and hexadecimal
$ echo aA | od -t auCx1
0000000 a A nl
97 65 10
61 41 0a
0000003
-
aoutputs the named chars, like '\n' for newline. -
uCoutputs the decimal equivalent, for example, 'a' is 97. -
x1outputs hex in two byte portions