LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telling ls to display one screen at a time (https://www.linuxquestions.org/questions/linux-newbie-8/telling-ls-to-display-one-screen-at-a-time-161563/)

rl5 03-23-2004 07:04 PM

Telling ls to display one screen at a time
 
Is that a flag for ls (or dir) that allows only one screen of data to be displayed at a time? (If there is, I couldn't find it in the man pages).

aaa 03-23-2004 07:14 PM

I think there is, but i can't remember it. But you can do it with another program:

ls|more

OR

ls|less

Kristijan 03-23-2004 07:24 PM

Yep, just pipe ls through more or less.

Less is more ;)

Code:

ls | less

Tinkster 03-23-2004 07:29 PM

Quote:

Originally posted by Kristijan
Less is more ;)

Nope ;}

-rwxr-xr-x 1 root bin 93008 2002-06-14 16:11 /usr/bin/less
-rwxr-xr-x 1 root bin 26784 2002-06-13 10:54 /bin/more



Cheers,
Tink


All times are GMT -5. The time now is 07:35 PM.