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

Re: Bash equivalent to DOS /p



> 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?


Why not pipe the output through less .. eg:
#> cat somedoc.txt | less

This will page the output, allowing you to scroll forwards and backwards
through it.

HTH

Pete.




Reply to: