Security

An administrator downloads ubuntu.iso and a SHA256SUMS file from the vendor. The file lists hashes for several ISO images, but only ubuntu.iso is present on the local system. Which command verifies the download without errors about the missing files?

Show the answer

Correct answerA. sha256sum -c --ignore-missing SHA256SUMS

The -c option reads the listed hashes and compares them with the local files, and --ignore-missing skips entries for files that are not present. Running sha256sum on the ISO alone, even with --tag, only prints a digest and never compares it with the published value.