LinuxQuestions.org
Visit Jeremy's Blog.
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 12-22-2010, 01:28 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
ls command to view page one by one.


Hi,
I want to see files and directories which are in /etc directoty. When i write
# ls command it scroll all files at a once and i can't see the files whic starts from a or b .
Is there any combination in ls command by which i can view files as per page by pressing spacebar of enter key to see next files.
thanks
garden
 
Old 12-22-2010, 01:29 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

Rep: Reputation: 148Reputation: 148
Pipe the ls output to less
Quote:
ls | less
 
1 members found this post helpful.
Old 12-22-2010, 01:31 AM   #3
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
ls /etc| more
 
Old 12-22-2010, 02:00 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
thanks a lot for guidance.
 
Old 12-22-2010, 02:13 AM   #5
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
"less is more"
 
  


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
View output per page laurens Linux - Newbie 3 07-30-2009 02:04 PM
View a web page using the terminal. caleb1011 Linux - Newbie 9 01-15-2006 06:38 PM
cant view a web page master General 5 08-19-2004 10:46 AM
I NEED to be able to view this page help!! snatale1 Linux - Software 4 03-06-2004 08:45 PM
View more than 25 threads on the "view new posts" page lfslinux LQ Suggestions & Feedback 2 02-02-2002 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 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