Forrest logo
back to the md5sum tool

md5sum:tldr:dfafb

md5sum: Calculate the MD5 checksum for one or more files.
$ md5sum ${filename1 filename2 ---}
try on your machine

This command calculates the MD5 hash value of one or multiple files.

The syntax of the command is:

md5sum ${filename1 filename2 ---}

${filename1 filename2 ---} represents a space-separated list of filenames or file paths. You can provide multiple filenames or use wildcards to specify a pattern for selecting multiple files.

The md5sum command reads the specified files and generates a unique 128-bit MD5 hash value for each file. The MD5 hash is a fixed-length hexadecimal string that acts like a digital fingerprint for the file. It is commonly used to verify the integrity of files and compare them against known values.

The output of the command will display the MD5 hash value followed by the filename for each file specified.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the md5sum tool