Dave Ihnat wrote:

> On Sun, Nov 05, 2000 at 02:42:52AM -0500, kf wrote:
> > You probably know this already, but for others...
> >
> > To find if you have a package (e.g., ping) installed, do one or more of
> > the following:
>
> OK as far as it goes; this tells you where the particular program has been
> installed.   To know what package owns the file, run "rpm -q -f <file>".
> Note the entire file path must be given.

That is why I use:

rpm -q -f $(which <file>)

#the $( ) syntax is the same as backticks but  I use it so I can nest
statements easily

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to