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. I checked the 
 |manpages.  Here's what I tried:
 |
 |Any solutions ? I personally don't use rpm much - so I'm kinda stuck here. 

rpm -qf /path/to/file

[kingsly@utopia kingsly]$ rpm -qf /sbin/ifconfig
net-tools-1.53-1
[kingsly@utopia kingsly]$

Kingsly

                .:: Kingsly John                ICQ 14787510 ::.
               --------------------------------------------------
            .:: Linux 2.4.3 #9 Mon Apr 23 11:52:01 IST 2001 i686 ::.
            --------------------------------------------------------
           `:. Posted to the list on Mon Apr 23 13:01:17 IST 2001 .:'


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to