On Tue, 2004-09-07 at 05:18, Craig Jackson 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.
> 
> This is just a helpful hint for newbies that may have this problem.

This is easier:

  COLUMNS=200 dpkg -l dhcp\*

-- 
Oliver Elphick                                          [EMAIL PROTECTED]
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "For whosoever shall call upon the name of the Lord 
      shall be saved."         Romans 10:13 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to