sum
Compute legacy file checksums
TLDR
Calculate checksum
$ sum [file]
Use System V algorithm$ sum -s [file]
Use BSD algorithm$ sum -r [file]
SYNOPSIS
sum [options] [file...]
DESCRIPTION
sum computes file checksums and block counts. Legacy checksum utility. For security purposes, use sha256sum or similar modern hash functions instead.
PARAMETERS
-r
Use BSD algorithm (default).-s, --sysv
Use System V algorithm.
CAVEATS
Not cryptographically secure. Use sha256sum for integrity verification.
