Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sum

v(uutils coreutils) 0.8.0
sum [OPCIÓN]... [ARCHIVO]...

Suma de verificación y contar los bloques en un archivo.

Sin ARCHIVO, o cuando ARCHIVO es -, leer entrada estándar.

Options

-r

usar el algoritmo de suma BSD, usar bloques de 1K (predeterminado)

--sysv, -s

usar el algoritmo de suma System V, usar bloques de 512 bytes

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.