sum
v(uutils coreutils) 0.8.0
sum [OPTION]... [FICHIER]...
Calculer la somme de contrôle et compter les blocs dans un fichier.
Sans FICHIER, ou quand FICHIER est -, lire l’entrée standard.
Options
-r-
utiliser l’algorithme de somme BSD, utiliser des blocs de 1K (par défaut)
--sysv,-s-
utiliser l’algorithme de somme System V, utiliser des blocs de 512 octets
Examples
The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.
Compute a checksum with BSD-compatible algorithm and 1024-byte blocks:
sum {{path/to/file}}
Compute a checksum with System V-compatible algorithm and 512-byte blocks:
sum {{[-s|--sysv]}} {{path/to/file}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.