rpm -qf <some file>

eg:
rpm -qf /bin/ls
rpm -qf $(which ssh)

etc...

-Steve

-----Original Message-----
From: Sambit Nanda [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 12:40 PM
To: [EMAIL PROTECTED]
Subject: How to find RPM from command



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 ?



=====
Thanks,

Sambit Nanda
203-553-3424 (O)

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to