On Mon, 6 Sep 2004 23:18:42 -0500
Craig Jackson <[EMAIL PROTECTED]> wrote:

> Hi,
> If I would like to know the name of a package, for example dhcp,
> installed on the system, I would run
> 
> dpkg -l | grep dhcp
> 
> Most of the time I get the right name and I'm happy. But there are
> times when the name of the package is so long that I cannot tell what
> the name is.
> 
> In that situation if grep through the file /var/lib/dpkg/available and
> I find the full name.

But if you really only want the information for packages that are
installed, and not all that are available, I like to do the following:

'dpkg --get-selections | grep dhcp'

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #58:
With Windows Millennium, Microsoft was able to get the boot time down to
25 seconds. That's almost as short as it's uptime. 

Attachment: pgpatvxkCaFaH.pgp
Description: PGP signature

Reply via email to