On Sun, 8 Apr 2001, dizzy73 wrote:
Rick Green wrote:
where in the filesystem it was placed, as well as searching the rpm database and telling him which package it was installed from. Very cool, but it isn't part of my SuSE 6.4 installation. Anybody know if this is hidden in some rpm I didn't install, or where I can get it?
also you have rpm -q package
Not exactly. Exactly the inverse, actually. 'what' takes a filename as an argument, and tells you tells you which package it came from. Even `rpm -qf <filename>` will return the package name only if you give a fully-qualified name. It's more like "rpm -qf `which <filename>`", except that it works for any file, not just executables in the current path. -- Rick Green "I have the heart of a little child, and the brain of a genius. ... and I keep them in a jar under my bed"