Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List by page 1

Status
Not open for further replies.

manmaria

Technical User
Aug 8, 2003
286
US
What is the ls command to list the files by page or list of 20 files at a time?

Thanks in advance
 
Code:
ls | pg
or
Code:
ls | more
or
Code:
ls | less
depending on your OS.

In general, in Unix, you use other commands to format (in this case page) output. So you have
Code:
ls | mail me@myserver #mail the output to me
ls | lp #print the output
etc...

Ceci n'est pas une signature
Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top