The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
display the result of wc -l with words before and after the result melanie_pfefer UNIX for Dummies Questions & Answers 3 04-30-2008 08:33 AM
display result from user input thms_sum Shell Programming and Scripting 13 02-01-2008 05:34 AM
Solaris 10 install doesn't display Network Connectivity prompt page sarahsi SUN Solaris 3 08-30-2007 09:44 AM
Redirect the Time result to a test file mistella UNIX for Dummies Questions & Answers 5 03-29-2006 06:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-05-2003
nickaren nickaren is offline
Registered User
  
 

Join Date: Sep 2003
Posts: 4
Question Display result one page at a time

hi

how can i display the result on the screen one page at a time?

say i search for .txt files and return the result on the screen one page at a time.
  #2 (permalink)  
Old 09-06-2003
nelamvr6 nelamvr6 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 2
Try piping to more.

Example:

ls -l | more

will give the results of an ls -l comand one screen at a time.
  #3 (permalink)  
Old 09-06-2003
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
or use "less" instead of "more", which is a bit more versatile (you can move up and move down).
  #4 (permalink)  
Old 09-06-2003
nelamvr6 nelamvr6 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 2
Additionally you can use "less" and "more" without a pipe.

Say for example that you wanted to read a large text file called "bigfile", you could either enter "more bigfile" or "less bigfile" (without the quotes of course).
  #5 (permalink)  
Old 09-10-2003
nickaren nickaren is offline
Registered User
  
 

Join Date: Sep 2003
Posts: 4
Wink

how about displaying each file name on the screen one page at a time?

like i type ls, and i have 3 files, how does it display 1.txt, and i press enter or space or whatever, then displays 2.txt, then i press another key, and display 3.txt ?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0