|
From: Andy Cap on 1 Nov 2006 15:12 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 1 Nov 2006 15:19 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 1 Nov 2006 15:28 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 1 Nov 2006 15:24 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 2 Nov 2006 01:48 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
|
Next
|
Last
Pages: 1 2 Prev: Linux equivelent of setenv DISPLAY ? Next: External screen (ubuntu laptop) |