The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
No dbx installed calloc High Level Programming 1 04-21-2008 07:25 AM
bash command to get the name of OS installed sateeshgauns UNIX for Dummies Questions & Answers 3 11-22-2006 09:36 AM
Two Oracle's installed rahulrathod Shell Programming and Scripting 1 04-03-2006 04:26 AM
I 've installed Red Hat 7.2 but ????Help atiato UNIX for Dummies Questions & Answers 2 02-06-2002 11:37 PM
how to see all installed PATCHES Prafulla UNIX for Dummies Questions & Answers 1 01-15-2002 06:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-05-2008
Registered User
 

Join Date: Jun 2008
Posts: 10
Post RPM used to installed to get a partcular command

Hi,


I have a query in linux and please find the details of it

I have a command in linux and i want to know which rpm has provided that command.

ie: if we take ifconfig command ,i want to know what is the rpm package used to get that command.

Regards
Arun.Kakarla
Reply With Quote
Forum Sponsor
  #2  
Old 07-05-2008
Registered User
 

Join Date: Apr 2008
Location: European Union/Germany
Posts: 183
rpm itself does not provide such a mechanism, its a quite basic package format. But e.g. Suse's YaST is able to search through all available (installed and not installed) packages. Many distro's have similiar tools or at least online databases.
Reply With Quote
  #3  
Old 07-05-2008
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
Code:
rpm -qf <filename>
Code:
> rpm -qf /sbin/ifconfig
net-tools-1.60-76.fc6
Reply With Quote
  #4  
Old 07-05-2008
Registered User
 

Join Date: Jun 2008
Posts: 10
Thank you

Regards
Arun.Kakarla
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0