101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 28


Which RPM command will output the name of the package which supplied the file /etc/exports?

Show Answer
Correct Answer: B

The RPM command for querying which package a specific file belongs to is 'rpm -qf <file>'. The '-q' flag is used for querying, and the 'f' option specifies that we are querying based on a file provided. Therefore, the correct command to determine the package that supplied the file /etc/exports is 'rpm -qf /etc/exports'.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: B
Oct 21, 2023

Which RPM command will output the name of the package which supplied the file /etc/exports? A. rpm -F /etc/exports B. rpm -qf /etc/exports C. rpm -Kl /etc/exports D. rpm -qp /etc/exports E. rpm -qi /etc/exports