- Linux Shell Scripting Cookbook(Third Edition)
- Clif Flynt Sarath Lakshman Shantanu Tushar
- 45字
- 2021-07-09 19:46:19
How to do it...
To compute the md5sum, use the following command:
$ md5sum filename 68b329da9893e34099c7d8ad5cb9c940 filename
The md5sum is a 32-character hexadecimal string as given.
We can redirect the checksum output to a file for later use, as follows:
$ md5sum filename > file_sum.md5