1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:42:08 +02:00
tldr/pages/common/sum.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

414 B

sum

Compute checksums and the number of blocks for a file. A predecessor to the more modern cksum. More information: https://www.gnu.org/software/coreutils/manual/html_node/sum-invocation.html.

  • 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 --sysv {{path/to/file}}