sha384sum:tldr:eb195
The command sha384sum --check ${filename-sha384}
is used to verify the integrity of a file using the SHA-384 hash algorithm.
Here's a breakdown of the command:
sha384sum
: This is the command that calculates the SHA-384 hash value of a file.--check
: This option is used to check the integrity of a file by comparing its hash value with a precalculated value.${filename-sha384}
: This is a placeholder representing the filename and its corresponding SHA-384 hash value. You need to replace this with the actual filename and its hash value.
To use this command, you need to have a file and its associated SHA-384 hash value. The purpose of this command is to verify that the file has not been tampered with or corrupted.
To use the command, simply replace ${filename-sha384}
with the actual filename and its SHA-384 hash value. For example, if your file is named "example.txt" and its corresponding SHA-384 hash value is "1a2b3c4d5e6f7g8h9i0j", the command would be:
sha384sum --check example.txt-1a2b3c4d5e6f7g8h9i0j
Running this command will compare the calculated hash value of the file with the provided hash value and inform you whether they match or not. If they match, it means the file has not been tampered with. If they don't match, it indicates that the file has been modified or corrupted.