[plug] query a package

Jon L.Miller jlmiller at mmtnetworks.com.au
Tue Mar 5 18:07:58 WST 2002


While trying to query a package I issued the following:
rpm -ql <packagename> 
What I wanted is a way to query a package for a file that I'm looking for.  I 
would like to be able to query a group of packages that begin with lib*, then 
drill that down to the package that contains the file.
Hence I assume I have to |grep <filename> to end up with a command like

rpm -ql lib* |grep libdb*

Is this correct?

Thanks



More information about the plug mailing list