If the output from a command is longer than the screen length, it appears one screen at a time by means of a UNIX more-type interface. The prompt ---(more)--- indicates that more output is available. This format is helpful when you want to scroll and search through lengthy output.
As soon as the command-line interface (CLI) can determine the length of the output (typically by the second screen), it displays the percentage of the output that has been displayed so far above the ---(more)--- prompt.
The output buffer for the prompt is restricted to 32 megabytes (MB). Any new data that exceeds the buffer limit replaces the oldest data in the memory buffer. When the buffer limit is exceeded, attempts to search backward or navigate to the beginning of the output generate a warning indicating that the output is truncated.
Because of the buffer size restriction, use of the scroll and search functions might be limited.
Table 15 lists the keyboard sequences you can use at the ---(more)--- prompt.
Table 15: ---(more)--- Prompt Keyboard Sequences
|
Category |
Action |
Keyboard Sequence |
|---|---|---|
|
Get Help |
Display information about the keyboard sequences you can display at the ---(more)--- prompt. |
h |
|
Scroll Down |
Scroll down one line. |
Enter, k, Ctrl+m, Ctrl+n, or down arrow |
|
Scroll down one-half screen. |
Tab, d, Ctrl+d, or Ctrl+x |
|
|
Scroll down one whole screen. |
Spacebar or Ctrl+f |
|
|
Scroll down to the bottom of the output. |
Ctrl+e or Shift+g |
|
|
Display the output all at once instead of one screen at a time. (Same as specifying the | no-more filter when entering commands using the pipe symbol. See Preventing Output from Being Paginated.) |
Shift+n |
|
| Scroll Up |
Display the previous line of output. |
j, Ctrl+h, Ctrl+p or up arrow |
|
Scroll up one-half screen. |
u or Ctrl+u |
|
|
Scroll up one whole screen. |
b or Ctrl+b |
|
|
Scroll up to the top of the output. |
Ctrl+a or g |
|
| Search |
Search forward for a string. |
/string |
|
Search backward for a string. |
?string |
|
|
Repeat the previous search for a string. |
n |
|
|
Search for a text string. You are prompted for the string to match. (Same as specifying the | match filter when entering command using the pipe symbol. See Displaying Output That Matches a Regular Expression.) |
m or Shift +m |
|
|
Search, ignoring a text string. You are prompted for the string to not match. (Same as specifying the | except filter when entering command using the pipe symbol. See Ignoring Output That Does Not Match a Regular Expression.) |
e or Shift+e |
|
| Interrupt or End Output, Redraw the Output, and Save the Output to a File |
Interrupt the display of output. |
Ctrl+c, q, Shift +q, or Ctrl+k |
|
Do not redisplay the CLI prompt immediately after displaying the output, but remain at the ---(more)--- prompt. (Same as specifying the | hold command.) |
Shift + h |
|
|
Clear any match conditions and display the complete output. |
c or Shift + c |
|
|
Redraw the output on the screen. |
Ctrl+l |
|
|
Save the command output to a file. You are prompted for a filename. (Same as specifying the | save filename command.) |
s or Shift + s |