which pkg contains a command?

Nathan Myers ncm@cantrip.org
Wed, 3 May 2000 17:55:53 -0700

On Wed, May 03, 2000 at 05:10:28PM -0700, simonst@wellsfargo.com wrote:
> I can't remember how to find out which package I need to install to pick up
> a favorite command.
> I'm looking (this time) for nslookup, lpr/lpd/lpq & netdate.

$ man dpkg
$ dpkg -S netdate nslookup lpr
netstd: /usr/sbin/netdate
dnsutils: /usr/bin/nslookup
lpr: /usr/bin/lpr

You can also search on http://www.debian.org/distrib/packages ,
but it doesn't find (e.g.) netdate.

Nathan Myers
ncm at cantrip dot org