next up previous contents index
Next: Create Output Up: Compression Previous: The !gunzip Command: Uncompress   Contents   Index

The !md5 Command: Print File Digest

Syntax: !md5 filepath
This command will compute and print on the prompt line the MD5 digest of a file. The digest is a sequence of 32 hex digits that is very unlikely to duplicate that of another file. It can be used to determine if a file is incorrect or has been tampered with.

The same digest can be obtained from the following command, which is available on most Unix/Linux/OS X systems:

openssl dgst -md5 filepath

Stephen R. Whiteley 2022-05-28