Sambit Nanda wrote:
is there any way to find out the RPM name from the
command name, mean if i want to know this command
belongs to which RPM ? can i do that ??
example how i will come to know named belongs to which
RPM ?
whichrpm:
#!/usr/bin/perl -w
foreach $file (@ARGV){
$path =`which $file`;
system "rpm -qf $path";
}
Example:
[EMAIL PROTECTED] tests]$ whichrpm ls top apt-get
coreutils-4.5.3-19
procps-2.0.11-6
apt-0.5.5cnc6-fr1
--
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory <[EMAIL PROTECTED]>
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list