Date de publication : Jan 30, 2012 4:26:11 PM
tr permet de remplacer un caractère :
Ex :
tr '\101' B < test.txt => dans le fichier, remplace le code octal 101 (= A) par B
hexdump permet d'afficher un fichier en hexa, décimal, octal
Affichage du caractère ASCII A :
printf "%d" 0x41 => 65
printf "%o" 0x41 => 101
printf "%x" 65 => 41