nerdexam
GIAC

GSEC · Question #399

You work as a Network Administrator for Net World Inc. The company has a Linux-based network. You have downloaded an application from the Internet. Before starting the installation, you want to ensure

The correct answer is C. sum. The Linux sum command computes a checksum and block count for a file, allowing an administrator to verify that a downloaded file was received completely and without corruption.

Linux and Cryptography

Question

You work as a Network Administrator for Net World Inc. The company has a Linux-based network. You have downloaded an application from the Internet. Before starting the installation, you want to ensure that the file received is in its entirety. Which of the following commands will you use?

Options

  • Aat
  • Bvi
  • Csum
  • Dmount

How the community answered

(21 responses)
  • A
    10% (2)
  • B
    5% (1)
  • C
    86% (18)

Why each option

The Linux `sum` command computes a checksum and block count for a file, allowing an administrator to verify that a downloaded file was received completely and without corruption.

Aat

The `at` command schedules commands for deferred execution at a specified time and has no file integrity verification capability.

Bvi

`vi` is a terminal-based text editor used to create or modify text files, not to validate the completeness or integrity of a binary download.

CsumCorrect

The `sum` utility generates a 16-bit checksum and a block count for the specified file. By comparing the output against a checksum value published by the software vendor, an administrator can confirm the file arrived in its entirety and was not corrupted or truncated during the download. This is a quick integrity verification step before installation.

Dmount

`mount` attaches a filesystem or storage device to a directory in the tree; it does not inspect or verify the contents of a downloaded file.

Concept tested: Linux file integrity verification using sum

Source: https://www.man7.org/linux/man-pages/man1/sum.1.html

Topics

#sum command#file integrity#checksum#Linux tools

Community Discussion

No community discussion yet for this question.

Full GSEC Practice