[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Which package has the file xxx ?
- From: Devon <devon tuxfan homeip net>
- To: seawolf-list redhat com
- Subject: Re: Which package has the file xxx ?
- Date: Fri, 29 Jun 2001 06:14:58 -0400
On Friday 29 June 2001 04:16 am, LinuxKH wrote:
> Hi all,
>
> How to find the name of the package which has the file x ?
>
> Example: The 'su' file belongs to which package ?
>
> `man rpm` doesn't help me. :-( Help !
rpm -q(query)f(file) /full/path/to/file
[devon tuxfan devon]$ which su
/bin/su
[devon tuxfan devon]$ rpm -qf /bin/su
sh-utils-2.0-13
Hope that helps,
-D
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]