Commodore PC Ms-Dos 3.2 User's Manual page 143

Table of Contents

Advertisement

MS-DOS Commands 71
n
More
More
(O Purpose:
Sends output to the console one screen at a time.
(~*) Syntax:
more
r^\ Comments:
More is a filter that reads from standard input (for instance, a
^-^
command from your terminal) and displays one screen of informa-
'
'
tion at a time, liie more command then pauses and displays the
"--More--" message at the bottom of your screen. To continue
displaying information, press the return key and keep pressing it
f"^
until you have read all the data.
^-v
Note
To hold input information until it is displayed, the more
'
command creates a temporary file on the disk. If the disk is full or
write-protected, however, the more command will not work.
n
Examples:
More is useful for viewing long files. For example, if you have a
Viewing long files
long file of customers, you could use the more command to view
it one screen at a time. Suppose this file is called clients, new. To
see it you would just type the following command:
type
clients.new
!
more
^-v
You can also redirect input from a file to more, for example:
Redirecting input
from a file
more
<
clients.new
i
i
This command also sends the file clients.new to the screen one
screenful at a time.
n
n
n

Advertisement

Table of Contents
loading

Table of Contents