LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to ls page by page (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-ls-page-by-page-420499/)

bandula 02-28-2006 11:46 PM

how to ls page by page
 
Hi,

Tell me please how to see files & directories page by page using ls ?

As MSDOS -> dir /p


Thanks.

Electro 02-28-2006 11:52 PM

Pipe it to more.

dr_zayus69 02-28-2006 11:55 PM

pipe it to less

Code:

ls | less

pixellany 03-01-2006 12:33 AM

Quote:

Originally Posted by dr_zayus69
pipe it to less

Code:

ls | less

And--someday--you will read in a book that, in Linux, "less is more".....;)
(I'm not kidding)

spooon 03-01-2006 01:26 AM

Quote:

Originally Posted by pixellany
And--someday--you will read in a book that, in Linux, "less is more".....;)
(I'm not kidding)

and then "most is more than less".....;)
(I'm not kidding)

dr_zayus69 03-01-2006 07:56 AM

from the more man page.

Code:

DESCRIPTION
    More is a filter for paging through text one screenful at a time.  This
    version is especially primitve.  Users should realize that less(1) pro-
    vides more(1) emulation and extensive enhancements.

that is why i suggested less. I had never heard of most until now. more and less are already on my system and most was not.

Ptrs!OP 03-03-2006 06:58 PM

Well, more or less, most is the same thing


All times are GMT -5. The time now is 05:22 PM.