md5sum

Use md5sum to use the MD5 algorithm to calculate the digest of a file.

Syntax

md5sum file-url

Views

User view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

file-url: Specifies the name of a file.

Usage guidelines

The digest can be used to verify the integrity of the file. For example, you can use this command to calculate the digest of a software image file and compare it with that provided on the Hewlett Packard Enterprise website to identify whether the file has been tampered with.

Examples

# Use the MD5 algorithm to calculate the digest of file system.bin.

<Sysname> md5sum system.bin
MD5 digest:
4f22b6190d151a167105df61c35f0917

Related commands

sha256sum