Calculating the file digest
File digests are used to verify file integrity.
Use the following commands in user view:
Task | Command |
---|---|
Calculate the digest of a file by using the SHA-256 algorithm. | sha256sum file |
Calculate the digest of a file by using the MD5 algorithm. | md5sum file |