Commande FILE
- La commande file permet de connaître le type de fichier :
file atee4.txt
… atee4.txt: ASCII text
file atee3.txt
… atee3.txt: Little-endian UTF-16 Unicode text, with CRLF line terminators
- Pour visualiser le code en ascii / hexa :
utiliser mc puis vue puis basculer ascii/hexa
- Sous VI Remplacer ^M dans tout le document :
%s/^M//g