hexdump

ASCII, decimal, hexadecimal, octal dampo

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

chanzo | maelezo |

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

chanzo | maelezo |

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

chanzo | maelezo |

nakala
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"'

chanzo | maelezo |

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

chanzo | maelezo |

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

chanzo | maelezo |