Linux rpmfile命令:在RPM软件包中列出文件模式和类型。
Linux rpmfile命令 功能描述
使用rpmfile命令可以在RPM软件包中列出文件模式和类型。该命令将产生3列输出:文件名、文件模式(八进制)和文件类型,可以按文件来确定。
Linux rpmfile命令 语法
rpmfile [选项] [文件] [目录]
Linux rpmfile命令 示例
在RPM软件包bind-9.8.2-0.17.rc1.el6.x86_64.rpm中列出文件模式和类型
[root@rhel ~]# cd /media/RHEL_6.4\ x86_64\ Disc\ 1/Packages
[root@rhel Packages]# rpmfile bind-9.8.2-0.17.rc1.el6.x86_64.rpm /var/named
/etc/NetworkManager/dispatcher.d/13-named 100755 Bourne-Again shell script text executable
/etc/logrotate.d/named 100640 ASCII text
/etc/named 40750 directory
/etc/named.conf 100640 ASCII C++ program text
/etc/named.iscdlv.key 100644 ASCII C program text
/etc/named.rfc1912.zones 100640 ASCII C++ program text
/etc/named.root.key 100644 ASCII English text, with very long lines
/etc/portreserve/named 100644 ASCII text
/etc/rc.d/init.d/named 100755 Bourne-Again shell script text executable
/etc/rndc.conf 100640 cannot open './/etc/rndc.conf' (No such file or directory)
/etc/rndc.key 100640 cannot open './/etc/rndc.key' (No such file or directory)
/etc/sysconfig/named 100644 ASCII English text
/usr/lib64/bind 40755 directory
.........................(省略)