LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-22-2005, 09:30 AM   #1
kanuuker
Member
 
Registered: Aug 2003
Location: Florence, AL (CND by birth)
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
ls option to stop when screen fills up?


What's the equivalent to dos's 'dir -p' in linux? I know it's ls, but what's the option to get it to pause when the screen fills up?
 
Old 03-22-2005, 09:33 AM   #2
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
Pipe the output into the 'less' program:

ls | less
 
Old 03-22-2005, 09:34 AM   #3
8years@Linux
LQ Newbie
 
Registered: Mar 2005
Location: PA
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
ls option to stop when screen fills up?

ls | more

q to quit
 
Old 03-22-2005, 09:48 AM   #4
kanuuker
Member
 
Registered: Aug 2003
Location: Florence, AL (CND by birth)
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
thanks
 
  


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
How to stop screen switching off?? little_penguin SUSE / openSUSE 5 03-22-2005 10:37 AM
Apt-get update stop option? nextekcarl Linux - Software 6 10-22-2004 01:20 PM
2.6.6 kernel with splash screen option won't compile taoweijia Linux - Software 2 07-15-2004 09:51 AM
Still getting option screen at boot after format of disc Jacksenflamed Linux - Newbie 6 04-02-2004 05:22 PM
How to stop screen from going blank jkraeger Linux - General 10 02-26-2003 11:36 PM


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

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