Conversions

De Linuxmemo.

(Différences entre les versions)
(Hexadécimal (0x))
(Octal (0))
Ligne 15 : Ligne 15 :
dump un fichier au format octal
dump un fichier au format octal
  od fichier.txt  
  od fichier.txt  
-
  0000000 063144 071550 065544 063152 062150 066153 064163 065546
+
  0000000 062564 072163 072040 071545 020164 062564 072163 072012
-
  0000020 062163 062012 066554 063153 071554 063144 066153 062163
+
  0000020 071545 020164 062564 072163 072040 071545 005164 062564
-
  0000040 063150 065554 062163 063012 065554 064144 071546 065544
+
  0000040 072163 072040 071545 020164 062564 072163 000012
-
  0000060 064146 071555 005012
+
  0000055
-
0000066
+

Version du 27 décembre 2014 à 18:27

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