cksum (target)

Display file checksums and block counts (POSIX, toybox)

Syntax:

cksum [-ILNP] [file...]

Runs on:

QNX OS

Options:

-H
Hexadecimal checksum (defaults to decimal).
-I
Skip post-inversion.
-L
Little endian (defaults to big endian).
-N
Do not include length in CRC calculation (or output).
-P
Pre-inversion.
file
The pathname of a file to be checked. If no files are specified, standard input is used. A filename with the dash character (-) is a synonym for standard input.

Description:

The cksum utility writes one line to standard output for each file you specify. This line contains the checksum of the file, as well as the file size and the name of the file being checked.

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: