ls screen by screen
Is there and option to ls to list its output screen by screen? When I use ls on some of the larger folders it scrolls off the screen and I can't see it. I've looked through a couple books and the man and info files but haven't found a solution to this. Thanks, Mark
|
Use a pipe to more
ls | more |
Code:
ls <something> |less |
Hi,
'Pipe' it through more or less. $ ls | more $ ls -latr | less More/less are made for this task and works with the output of (almost) all programs. Hope this helps. |
we posted this the same time (05:18 PM):D .
with more to see the next line with <enter> and the next page with <space>. with less you do the same but you may also use the arrows up/down. (you can't go up using more) quit with q. |
All times are GMT -5. The time now is 12:21 AM. |