mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-25 18:03:07 +03:00
13 lines
299 B
Markdown
13 lines
299 B
Markdown
# sum
|
|
|
|
> Compute checksums and the number of blocks for a file.
|
|
> A predecessor to the more modern `cksum`.
|
|
|
|
- Compute a checksum with BSD-compatible algorithm and 1024-byte blocks:
|
|
|
|
`sum {{file}}`
|
|
|
|
- Compute a checksum with System V-compatible algorithm and 512-byte blocks:
|
|
|
|
`sum --sysv {{file}}`
|