一,如何识别Linux系统中指定文件(/etc/fstab)的关联包

1.输入rpm -qf /etc/fstab ,此命令能列出提供/etc/fstab这个文件的包。

[root@system1 ~]# rpm -qf /etc/fstab setup-2.8.71-7.el7.noarch [root@system1 ~]# rpm -qf /etc/ssh openssh-7.4p1-12.el7_4.x86_64