[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: finger in 4.1?
- To: http://www.redhat.com/~rpm-list
- Subject: Re: finger in 4.1?
- From: Jurgen Botz <http://www.reference.com/~jbotz>
- Date: Wed, 05 Mar 1997 14:19:39 -0800
- Cc: http://dummy.us.eu.org/robert
- In-reply-to: Your message of "Tue, 04 Mar 1997 08:24:53 PST." <199703041625.http://www.rigel.infonex.com/~IAA16738>
- MBOX-Line: From http://www.redhat.com/~rpm-list-request Wed Mar 5 17:20:49 1997
- Reply-To: http://www.redhat.com/~rpm-list
- Resent-Cc: recipient.list.not.shown:;
- Resent-Date: 5 Mar 1997 22:20:49 -0000
- Resent-From: http://www.redhat.com/~rpm-list
- Resent-Message-ID: <"9huSO.0.E52.17V7p"@mail2.redhat.com>
- Resent-Sender: http://www.redhat.com/~rpm-list-request
Robert wrote:
> RH 4.1. I admit that I have not found a way to query or list the contents
> of an uninstalled package using the "rpm" command.
rpm -qpl {package-filename}
-p says to query an uninstalled package, -l lists the files in the package.
To find which package owns an installed file:
rpm -qf {filename}
i.e.:
bash$ which finger
/usr/bin/finger
bash$ rpm -qf /usr/bin/finger
NetKit-B-0.08-8
rpm -qpl NetKit-B-0.08-13.i386.rpm
/bin/ping
/etc/rc.d/init.d/inet
/etc/rc.d/rc0.d/K50inet
...
--
Jurgen Botz "Unix? What's that? Is that like Linux?"
http://www.reference.com/~jbotz
--
To unsubscribe: mail -s unsubscribe http://www.redhat.com/~rpm-list-request < /dev/null