[单选题]

在Linux环境下,使用如下哪个命令可以查看/etc/foo文件是由哪个RPM包安装的?( )

A.rpm-qa|grepfoo

B.rpm-ql/etc/foo

C.rpm-qlf/etc/foo

D.rpm-q-f/etc/foo

参考答案与解析: