hexdump

ASCII, decimal, hexadecimal, octal dump

copy
22
0
echo hello | hexdump -e '8/1 "%02X ""\t"" "' -e '8/1 "%c""\n"'

source | details |

copy
13
0
echo hello | hexdump -v -e '/1 "%02X\n"'

source | details |

copy
8
0
echo hello | hexdump -v -e '/1 "%_ad# "' -e '/1 "%02X hex"' -e '/1 " = %03i dec"' -e '/1 " = %03o oct"' -e '/1 " = _%c\_\n"'

source | details |

copy
9
0
echo hello | hexdump -v -e '/1 "%02X "' ; echo

source | details |

copy
8
0
echo hello | hexdump -v -e '"x" 1/1 "%02X" " "' ; echo

source | details |

copy
7
0
echo hello | hexdump -v -e '/1 "%_ad# "' -e '/1 " _%_u\_\n"'

source | details |