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

Re: Bash equivalent to DOS /p



On Friday 2004-07-16 08:59 am, Duggan wrote:

> I know that this is a really n00bish question, but I have to ask.  What
> is the command that limits output from a command to just a page at a
> time, like the /p command in DOS?

less (or more).  As in, instead of running

    $ command

you pipe it's output into less (or more):

    $ command | less

Et voila!  You get the output one page at a time.
-- 
Kirk Strauser

Attachment: pgp07gkGiw16K.pgp
Description: signature


Reply to: