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
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.
rpm -qf <filename>
> rpm -qf /sbin/ifconfig
net-tools-1.60-76.fc6