On Mon, Sep 06, 2004 at 11:18:42PM -0500, 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. > > Craig Jackson > Hi Craig, the answer is to set the environmental variable COLUMNS temorarily: COLUMNS=120 dpkg -l | grep dhcp
-Kev -- (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"...
signature.asc
Description: Digital signature