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 063144 071550 065544 063152 062150 066153 064163 065546
0000020 062163 062012 066554 063153 071554 063144 066153 062163
0000040 063150 065554 062163 063012 065554 064144 071546 065544
0000060 064146 071555 005012
0000066
Outils personnels