sha1sum
Calculate hash for each input file (POSIX, toybox)
Syntax:
sha1sum [-bcs] [file]...
Runs on:
QNX OS
Options:
- -b
- Be brief (output hash only, no filename).
- -c
- Check if each line of each file is the same as the hash and filename we'd output.
- -s
- Display no output. Return exit status 0 if all hashes match, 1 otherwise.
- file
- The pathname of the file to use as input.
Description:
The sha1sum utility calculates the hash for each input file, reading from standard input if there are no input files. The utility writes 40 hexadecimal digits to stdout for each input file followed by the filename.
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: