其他分享
首页 > 其他分享> > shasum核对文件hash值

shasum核对文件hash值

作者:互联网

确保CHECKSUM文集和要核对文件都在当前目录, 比如:

% ls
CHECKSUM.SHA256-FreeBSD-13.0-RELEASE-amd64
FreeBSD-13.0-RELEASE-amd64-bootonly.iso
FreeBSD-13.0-RELEASE-amd64-dvd1.iso

检查命令如下:

shasum -a 256 --ignore-missing -c CHECKSUM.SHA256-FreeBSD-13.0-RELEASE-amd64

输出结果如下:

FreeBSD-13.0-RELEASE-amd64-bootonly.iso: OK
FreeBSD-13.0-RELEASE-amd64-dvd1.iso: OK

标签:hash,shasum,CHECKSUM,核对,iso,FreeBSD,RELEASE,13.0,amd64
来源: https://www.cnblogs.com/freedom-try/p/15420110.html