LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 08: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, 08: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, 08: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, 08: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



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

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

All times are GMT -5. The time now is 05:09 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
Open Source Consulting | Domain Registration