[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Which package has the file xxx ?



rpm -qf  /the/path/to/the/file

for example:

[tony ajplacilla tony]$ rpm -qf /bin/netstat
net-tools-1.57-6



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 !
>
> TIA,
> LinuxKH
> -------
> "Please, correct me if I'm wrong. THANKS!"
>
> _______________________________________________
> Seawolf-list mailing list
> Seawolf-list redhat com
> https://listman.redhat.com/mailman/listinfo/seawolf-list

--
Tony Placilla   anthony_placilla suth com
(716) 586-5757 x 2201

Keeper of the Clue-by-4

BOFH Definition # 437............................

Windows: n., A large, annoying boot virus that causes random spontaneous
system crashes, usually just before saving a massive project.
Easily cured by installing  UNIX.
See also MS-DOS, IBM-DOS, DR-DOS.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]