md5sum

Check MD5 checksums (POSIX, toybox)

Syntax:

md5sum [-bcs] [file...]

Runs on:

QNX OS

Options:

-b
Be brief; only check the hash.
-c
Check if each line of each file is the same hash and filename that would be output.
-s
Display no output. Return exit status zero if all hashes match, one otherwise.
file
The pathname of the file that is being checked.

Description:

The md5sum utility calculates hash for each input file, reading from standard input if there is none, and writing hexadecimal digits to standard output for each input file followed by the filename. The corresponding hexadecimal digits for each input file are listed in the following table:

Input file Hex digits
md5 32
sha1 40
sha224 56
sha256 64
sha384 96
sha512 128

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: