- Windows
方法:CertUtil -hashfile <文件名> md5
示例:
D:\Software\Redis> CertUtil -hashfile redis-6.0.8.tar.gz md5
MD5 的 redis-6.0.8.tar.gz md5 哈希:
70113b4b8ea7ee4c7e148be62b5d1e0b
CertUtil: -hashfile 命令成功完成
- Linux
方法:md5sum <文件名>
示例:
[root@ly redis]# md5sum ./redis-6.0.8.tar.gz
70113b4b8ea7ee4c7e148be62b5d1e0b ./redis-6.0.8.tar.gz