diff --git a/pages/common/sum.md b/pages/common/sum.md new file mode 100644 index 0000000000..f3e509386d --- /dev/null +++ b/pages/common/sum.md @@ -0,0 +1,12 @@ +# 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}}`