sha384sum:tldr:e8304
This command checks the integrity of a file using the SHA-384 algorithm.
Let's break down the command:
-
sha384sum
: This is the command used to calculate the SHA-384 checksum of a file. It takes a file as input and produces a hash value that uniquely represents the file's content. -
--ignore-missing
: This flag instructs the command to ignore any missing files specified in its input. If the file specified doesn't exist, it won't raise an error or stop the process. -
--check
: This flag tells the command to check the integrity of a file using the provided checksum. It compares the calculated checksum of the file with the one given as input. -
--quiet
: This flag reduces the output of the command. It only displays error messages or the status of the integrity check instead of showing the calculated checksum values. -
${filename-sha384}
: This is a variable that represents the file containing the expected SHA-384 checksum. It should be provided as input to the command so that it can compare it with the calculated checksum of the file being checked.
By executing this command with the appropriate variables, it will calculate the SHA-384 checksum of the specified file and compare it with the expected checksum. It will return a message indicating whether the integrity check was successful or not.