commands.sh

sum

all

Compute checksums and the number of blocks for a file. A predecessor to the more modern `cksum`.

More info →

Options (1)

-s, --sysvboolean

Compute a checksum with System V-compatible algorithm and 512-byte blocks

Example: sum {{[-s|--sysv]}} {{path/to/file}}

Examples (2)

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
made by @shridhargupta | data from tldr-pages