More

Displays one screen of output at a time.

Syntax

Command | more
More /c /p /s /t

Key

Path\FileName  Specifies the file to display.
command  A command for which you want to display the output.
/E Enable extended features
/c  Clears screen before displaying page.
/p  Expands form-feed characters.
/s  Multiple blank lines squeeze to one blank line.
/t n  Changes tabs to the number of spaces specified by n.
+n  Displays first file starting from the line specified by n.
files  Specifies list of files to display. file names should be separated with a space.

If /E is used extended features will be enabled, the following keystrokes can be use with the — More — prompt

SPACEBAR Display next page
ENTER Display next line
f Display next file
q Quit
= Show line number
n Display next n lines
n Skip next n lines

Examples

To view the file named File.txt that you want to view on your screen, type
more < File.txt

The more command displays the first screen of information from File.txt, and then the following prompt appears:

— More —

You can then press the SPACEBAR to see the next screen of information.

To clear the screen before displaying File.txt, type

More /c < File.txt

The more command displays the first screen of information from File.txt, and then the following prompt appears:

— More —

To display the file one line at a time, press ENTER.

To display the next page, press the SPACEBAR.
To display the next file listed on the command line, type f.
To quit more, type q.

To display the current line number, type =. The current line number will be added to the more prompt

To display specific number of lines, type pMore prompts you for the number of lines to display as follows: