Conversions

De Linuxmemo.

Binaire (b)

Hexadécimal (0x)

  • commande hexdump

dump un fichier au format hexadécimal

hexdump fichier.txt
0000000 6574 7473 7420 7365 2074 6574 7473 740a
0000010 7365 2074 6574 7473 7420 7365 0a74 6574
0000020 7473 7420 7365 2074 6574 7473 000a     
000002d

Octal (0)

  • commande od

dump un fichier au format octal

od fichier.txt 
0000000 062564 072163 072040 071545 020164 062564 072163 072012
0000020 071545 020164 062564 072163 072040 071545 005164 062564
0000040 072163 072040 071545 020164 062564 072163 000012
0000055
Outils personnels