Paul Lussier wrote:
> 
> In a message dated: Thu, 10 Feb 2000 17:29:14 EST
> Adam Wendt said:
> 
> > On a somewhat related note whats the rpm command to tell me what package a
> >specific file is from?
> 
> I think it's:
> 
>         rpm -q -f filename
> 

A note on this:  The filename has to be an exact path or it
won't work (it took me forever to realize this).  That is,

        rpm -qf ls        # Does not work

        rpm -qf /bin/ls   # works ( fileutils-4.0-8 )

-Matt

-- 
Matthew W. Herbert   x75764
Spectrum Advanced Applications
http://www.aprisma.com/
mailto:[EMAIL PROTECTED]

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to