SUM(1) General Commands Manual SUM(1)

# [NAME](#NAME)

sum - Checksum and count the blocks in a file.

With no FILE, or when FILE is -, read standard input.

# [SYNOPSIS](#SYNOPSIS)

**sum** \[OPTION]... \[FILE]...

# [DESCRIPTION](#DESCRIPTION)

Checksum and count the blocks in a file.

With no FILE, or when FILE is -, read standard input.

# [OPTIONS](#OPTIONS)

[**-r**](#r)

use the BSD sum algorithm, use 1K blocks (default)

[**-s**, **--sysv**](#s)

use System V sum algorithm, use 512 bytes blocks

[**-h**, **--help**](#h)

Print help

[**-V**, **--version**](#V)

Print version

# [VERSION](#VERSION)

v(uutils coreutils) 0.12.0

2026-10-12

---

Document: sum(1) from uutils 0.12.0-r3 (Chainguard OS)
Source: https://github.com/uutils/coreutils
