more

The more command paginates console output.

Command Format

The more command is a builtin function and can not be invoked from the command line.

Functional description

The more command is not specified by the user on the command line, but is implicitly used by most commands. After displaying the number of lines according to the value of the moresz environment variable, the more command displays the prompt "more-".

The user can enter the following commands at the "more-" prompt:

Key Action
Space display next page
/str seach forward for str
n repeat last search
<cr> display one more line
q quit more and terminate command

Environment

The command uses the moresz environment variable to determine how many lines to display at at time. If moresz is set to zero, the screen scrolls continuously. The ^S or ^Q control sequence can be used to pause the output, and the ^C control sequence may be used to terminate output before the command finishes by itself.

See Also

The set command and environment for environment variable settings.