1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 02:02:07 +02:00
tldr/pages/common/sum.md
2022-12-04 19:12:49 +10:00

13 lines
381 B
Markdown

# 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/sum>.
- 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}}`