Which RPM command will output the name of the package which supplied the file /etc/exports?
Click on the arrows to vote for the correct answer
A. B. C. D. E.B
The correct answer is B, "rpm -qf /etc/exports".
Explanation:
RPM (RPM Package Manager) is a package management system used by various Linux distributions to manage software packages. RPM keeps track of installed packages and can be used to install, upgrade, and remove packages.
The "rpm -qf" command is used to query the RPM database to find out which package a file belongs to. The syntax of the command is as follows:
cssrpm -qf [file]
In this case, we want to find out which package supplied the file "/etc/exports". So we would run the following command:
javascriptrpm -qf /etc/exports
This command will output the name of the package that supplied the file "/etc/exports". For example:
nfs-utils-1.3.0-0.54.el7.x86_64
The other options are: