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 03-21-2009, 04:24 PM   #1
squigglytail
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Rep: Reputation: 0
Overflow of files in shell viewer


Is there a command to pull up files in a folder one screen at a time? I have a folder with a lot of files and when I use dir, not all of the files fit on the screen (I can't see the beginning since it just scrolls to the bottom). Hope that made sense. I remember the DOS prompt had some command that would let you pull files one screen at a time so you could read everything. It was something like /w/p or something. Does Linux have something similar?
 
Old 03-21-2009, 04:26 PM   #2
elsheepo
Member
 
Registered: Feb 2008
Location: Los Angeles
Distribution: Slackware-current
Posts: 86

Rep: Reputation: 19
Code:
ls | more
'ls' is the Linux equvilent to DOS's 'dir'
the '|' is known as a pipe, it pipes the output of the left side to the input on the right.
'more' is a very very old unix program that makes it so a super long text file will be broken up into pages you control the pace of.

Last edited by elsheepo; 03-21-2009 at 04:28 PM.
 
  


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
LXer: pv (Pipe Viewer) - Shell pipeline element to meter data passing through LXer Syndicated Linux News 0 12-28-2008 09:20 PM
Re : Viewer for .bin files networkdevo Linux - Software 2 03-12-2004 10:13 PM
buffer overflow cannot get a root shell? uskitten Linux - Security 6 03-10-2004 10:02 AM
looking for a .obj files viewer aizkorri Linux - Software 0 09-19-2003 05:23 AM
Video Files Viewer for Slackware arkan Linux - Newbie 2 07-08-2003 01:01 PM

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

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