[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I get a listing of ALL installed Packages



On Sun, Nov 07, 1999 at 15:33:51 +0100, Michelle Konzack wrote:
> MK>  dpkg -l | grep "^.i" >pkgs-installed
>                ^^^^^^^^^^
> 
> What is this with 'grep' ???

grep selects lines, in this case
'^': start of line, followed by
'.': any single character, followed by
'i': the character 'i'

i.e. only show those lines of 'dpkg -l' output that have an 'i' (for
installed) as their second character.

HTH,
Ray
-- 
RUMOUR  Believe all you hear. Your world may  not be a better one than the one
the blocks  live in but it'll be a sight more vivid.      
    - The Hipcrime Vocab by Chad C. Mulligan  


Reply to: