ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 197 - XK0-005 discussion

Report
Export

A systems administrator wants to upgrade /bin/ someapp to a new version, but the administrator does not know the package name. Which of the following will show the RPM package name that provides that binary file?

A.
rpm ---qf /bin/ someapp
Answers
A.
rpm ---qf /bin/ someapp
B.
rpm ---Vv / bin/ someapp
Answers
B.
rpm ---Vv / bin/ someapp
C.
rpm - P / bin/ some app
Answers
C.
rpm - P / bin/ some app
D.
rpm ---i / bin/ someapp
Answers
D.
rpm ---i / bin/ someapp
Suggested answer: A

Explanation:

Therpmcommand is used to manage RPM packages on Linux systems. The-qfoption queries the package name that provides a given file. Therefore, the commandrpm -qf /bin/someappwill show the RPM package name that provides the binary file/bin/someapp. The statements B, C, and D are incorrect because they do not query the package name, but rather verify, remove, or install a package.Reference: [How to Use RPM Command in Linux with Examples]

asked 02/10/2024
Pichai Chaipoon
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first