Command for scrolling back through text on CLI

Nigel Henry cave.dnb at tiscali.fr
Wed Aug 30 21:27:02 UTC 2006


On Wednesday 30 August 2006 23:11, yonas Abraham wrote:
> On 8/30/06, Aaron Konstam <akonstam at sbcglobal.net> wrote:
> > On Tue, 2006-08-29 at 23:20 +0200, Nigel Henry wrote:
> > > If I'm in text mode and run a command like, ls /usr/bin, I get a load
> > > of text scrolling by with no way to get back to the start of it. What
> > > command do I need to use so that I can scroll back through the text? Or
> > > are there any specific key combinations that will do this?
> > >
> > > I looked at "man ls" and "man tail", but there didn't seem to be any
> > > help there.
> > >
> > > Thanks.
> > >
> > > Nigel.
> >
> > I am not sure why you can't use the scroll feature of the terminal
> > window to do this. In seetting up an xterminal you can vary the size of
> > the scroll buffer.
>
> how about you pipe the result of ls to more or less comands and hit
> enter to continue
>
> like
>
>  ls /usr/bin |less

Thanks. Yes I'm piping the commands through less now, and that has solved the 
problem.  

Nigel.




More information about the fedora-list mailing list