Great concise answer posted by spurious.
But I'll go one better.
Try this instead which will only lists files in the package.
rpm -ql `rpm -qa | grep ndiswrapper` | more
Explanation for newbies or those curious:
the rpm -qa command lists ALL installed rpm's and passes the result to grep.
Grep is used to find the name of the file that matches the partial name "ndiswrapper".
This returns the WHOLE name of the RPM to the outer "rpm -ql" command which in turn queries the found rpm for a LISTING of it's contents from the RPM database.
The result of all of this is passed to the more command so you see only one screenfull at a time.
So that one rather small line performs a rather powerful search transferring results from one program to another while returning only the files you are looking for.
|