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
posted @ 2021-10-18 12:20  enjoy_jun  阅读(528)  评论(0编辑  收藏  举报