From: Andy Cap on
Hi

At the moment I'm saturated with documentation of checking out LINUX.

Could someone just explain how I stop a scrolling screen following a
dpkg -l command on Debian and just get a page at a time.

I seem to recall something involving a pipe and another suggestion using the
LESS command but how do I use either please.

TIA of any advice, Andy
From: Tim S on
Andy Cap wrote:

> Hi
>
> At the moment I'm saturated with documentation of checking out LINUX.
>
> Could someone just explain how I stop a scrolling screen following a
> dpkg -l command on Debian and just get a page at a time.
>
> I seem to recall something involving a pipe and another suggestion using
> the LESS command but how do I use either please.
>
> TIA of any advice, Andy

Hi

dpkg -l | less

is what you are looking for.

"|" (the pipe character) will, in a normal "shell", ie your command prompt,
take the output[1] from one command and feed it as input to the next
command.

HTH

Tim

[1] Technically, it takes STDOUT, and any error messages which get written
to STDERR will bypass the pipe and appear on the screen mixed up with
less's contents.
From: Andy Cap on
On Wed, 01 Nov 2006 20:19:15 +0000, Tim S <ts(a)dionic.net> wrote:

>Hi
>
>dpkg -l | less
>
>is what you are looking for.
>
>"|" (the pipe character) will, in a normal "shell", ie your command prompt,
>take the output[1] from one command and feed it as input to the next
>command.
>
>HTH
>
>Tim
>
>[1] Technically, it takes STDOUT, and any error messages which get written
>to STDERR will bypass the pipe and appear on the screen mixed up with
>less's contents.

Hi Tim

Thanks for the explanation. I'm chuffed I even got the right expressions and
nearly in the right order ! ;-)

Andy
From: Ian Rawlings on
On 2006-11-01, Andy Cap <Andy_Cap(a)nosuch.co.uk> wrote:

> dpkg -l command on Debian and just get a page at a time.

dpkg -l | less

--
Blast off and strike the evil Bydo empire!
From: Andy Cap on
On 01 Nov 2006 20:31:20 GMT, Paul Martin <pm(a)zetnet.net> wrote:

>In article <llvhk25ceaht3bsl5qbfsmg4nshqfi64su(a)4ax.com>,
> Andy Cap wrote:
>
>> Could someone just explain how I stop a scrolling screen following a
>> dpkg -l command on Debian and just get a page at a time.
>
>dpkg -l | less
>
>May I recommend you look at using "aptitude" for package selection?

Yes indeed thanks. Anything that makes life easier.

Whilst I'm at it....

Can I simply remove all packages that I don't need ? How does aptitude handle
shared files ?

When I eventually get this 2nd box on-line so that I can familiarise with LINUX,
what precautions are required, as in firewalls, AD and Spy-wares ? I will have
the router wall of course but do I still need to guard against rogue apps in
view of the repositories method of updating ?

Is there a comparable program to Quicken, Money etc ?

I apologise for any present or future inept questions. Life's too short to
worry.

Cheers Andy