On Mon, 23 Apr 2001, Faisal wrote:
> Hi people,
>
> This is kinda simple I guess, but I can't figure out how to get it to work.
> I need to know what package provides a specific file. For instance, if I want
> to know what package provides ifconfig, how do I go about it.
the command to get package name is
rpm -qf <filename_with_full_path>
the command to get the listing of the files in a package is
rpm -ql <package_name)
the command to see the installed packages
rpm -qa
I wish you are asking for this only. For more details you can see rpm man
page.
reg,
Vivek
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr