LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2006, 11:46 PM   #1
bandula
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-28-2006, 11:52 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Pipe it to more.
 
Old 02-28-2006, 11:55 PM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
pipe it to less

Code:
ls | less
 
Old 03-01-2006, 12:33 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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)
 
Old 03-01-2006, 01:26 AM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
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)
 
Old 03-01-2006, 07:56 AM   #6
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
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.
 
Old 03-03-2006, 06:58 PM   #7
Ptrs!OP
Member
 
Registered: Nov 2004
Location: Italy
Distribution: Ubuntu 7.04
Posts: 104

Rep: Reputation: 15
Well, more or less, most is the same thing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 8100: No scancodes from Page Up Page Down keys twosider Linux - Laptop and Netbook 1 10-18-2005 09:41 AM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 12:41 AM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 06:10 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM


All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration