Dgst command
From RZWiki
A CLI command available with OpenSSL distributions; used to create and display the digest(s) of a file.
Contents |
Usage Syntax
openssl dgst -digest [path/]file
Use the list-message-digest-commands command to list the available digests.
Common digests include;
- -md2
- -md4
- -md5
- -sha
- -sha1
Usage Examples
openssl dgst -md5 /COPYRIGHT
Typical Output
noinclude/noinclude
[device-one] / # openssl dgst -md5 /COPYRIGHT font color=blueMD5(/COPYRIGHT)= f49df64f4d8fb62e09ed5f3944e7bede/font
Linux Usage Notes
With most Linux or Unix commands;
- Non root users may need to prefix commands with the sudo command, for example: sudo chmod 644 *
- Brief help can be displayed using the -h or --help parameter, for example: chmod --help
- A full command manual can be displayed using the man command followed by the command name, for example: man chmod
- Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
- Version information can normally be display using the -v, -V or --version parameter, for example: chmod --version. However, this paramater is also frequently used to display verbose output.
noinclude/noinclude
Related Commands
The md5sum and sha1sum commands perform a very similar function.
Related Articles
Information on Linux commands
Information on F5 BigIP commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on Nortel commands
Information on Zebra commands
Information on Windows commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands
(replacing the # with an @) |






