May 2017
Beginner
552 pages
28h 47m
English
The syntax for the md5sum checksum calculation is as follows:
$ md5sum file1 file2 file3 ..
When multiple files are used, the output will contain a checksum for each of the files, one checksum report per line:
[checksum1] file1 [checksum1] file2 [checksum1] file3
The integrity of a file can be verified with the generated file, like this:
$ md5sum -c file_sum.md5 # It will output a message whether checksum matches or not
If we need to check all the files using all .md5 information available, use this:
$ md5sum -c *.md5
SHA-1 is another commonly used checksum algorithm. It generates a 40-character hex code from the input. The sha1sum command calculates an SHA-1 checksum. Its usage is similar to md5sum. Simply replace ...