LinuxQuestions.org
Help answer threads with 0 replies.
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 03-23-2004, 07:04 PM   #1
rl5
Member
 
Registered: Nov 2003
Location: Beautiful Northern California
Distribution: Debian Wheezy x64 3.2.0-3-rt, Fuduntu 2012 testing, The Distro Formerly Known As Mandrake
Posts: 95

Rep: Reputation: 18
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).
 
Old 03-23-2004, 07:14 PM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

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

ls|more

OR

ls|less
 
Old 03-23-2004, 07:24 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Yep, just pipe ls through more or less.

Less is more

Code:
ls | less
 
Old 03-23-2004, 07:29 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
  


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
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 11:14 AM
display time in the prompt rpb Linux - General 1 05-18-2005 04:03 PM
about time display in redhat 9 yjiang Linux - General 1 10-26-2004 11:02 PM
Display the date and time from another time zone lothario Linux - Software 4 07-31-2004 03:27 PM
XWindows time zones display equus Linux - Software 0 07-04-2004 02:42 PM


All times are GMT -5. The time now is 02:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration