-   Linux - General (
-   -   Scrolling after ls... (

psyklops 11-30-2002 12:57 AM

Scrolling after ls...
How do I scroll through the output after I run ls. It seems most of the info is to much to fit on the screen. I used ls --more but that didn't seem to work.

moses 11-30-2002 01:02 AM

ls | less
(man ls)
(man less)
or make sure your terminal has a scrollbar and just scroll back up using

psyklops 11-30-2002 01:04 AM

Great Moses! Got it.

trickykid 11-30-2002 02:10 AM

You can always hold Shift and press the Page Up and Page Down also to scroll as well.

psyklops 11-30-2002 02:45 AM

Just tried it trickykid. Thanks.

Ciccio 11-30-2002 11:04 AM

or you can run ls -l | more (man more) or if it is a BIG BIG amount of data you can forward it to a file and then use an editor to see it:

$ ls -l /home/myplace > /home/lsl.out
$ vi lsl.out #vi is an editor (man vi)

All times are GMT -5. The time now is 11:43 PM.