nerdexam
CompTIA

XK0-005 · Question #539

A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

The correct answer is D. rpm -V wget. The command that will provide the correct information about whether files from the wget package have been altered since they were installed is rpm -V wget. This command will use the rpm utility to verify an installed RPM package by comparing information about the installed…

System Management

Question

A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

Options

  • Arpm -i wget
  • Brpm -qf wget
  • Crpm -F wget
  • Drpm -V wget

How the community answered

(23 responses)
  • B
    4% (1)
  • C
    4% (1)
  • D
    91% (21)

Explanation

The command that will provide the correct information about whether files from the wget package have been altered since they were installed is rpm -V wget. This command will use the rpm utility to verify an installed RPM package by comparing information about the installed files with information from the RPM database. The verification process can check various attributes of each file, such as size, mode, owner, group, checksum, capabilities, and so on. If any discrepancies are found, rpm will report them using a single letter code for each attribute.

Topics

#RPM#Package Management#System Verification#Linux Commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice