Nifty Hat Mitch wrote:
$ locate nash /usr/share/man/man8/nash.8.gz /sbin/nash $ rpm -q --whatprovides /sbin/nash mkinitrd-3.5.22-1
I have noticed that a lot of people use rpm -q --whatprovides <file> to figure out RPM a file belongs to. But isn't rpm -qf <file> more correct? (and quicker to type as well :-) )
rpm --help
-f, --file query/verify package(s) owning file
--whatprovides query/verify the package(s) which provide a dependency