Find out a package which a file belongs to
If some files are deleted or corrupted from Linux system, such as /bin/bash, /bin/mount then how can I find these file belongs to what RPM?
Just use the command "rpm -qf /bin/bash" , this will report the name of the package (bash-3.2-9.fc7 in my system) which contaions the file.
Friday, June 27, 2008
Find out a package which a file belongs to
Labels:
rpm or yum
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment