[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Displaying Command Output

If the command output 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. (See Figure 8.)

Figure 8: The ---(more)--- Prompt

Image g016764.gif

To continue command output, press Return.

Table 6 lists some common keyboard sequences you can use at the ---(more)--- prompt. As soon as the CLI knows how long the output is (usually by the second screen), it displays the percentage of the command output above the prompt.

Occasionally, if a command produces extensive output, you may wish to cancel the output.

To cancel command output, press Ctrl+c. Command output stops and the command prompt appears. (See Figure 9.)

Figure 9: Canceling Command Output

Image g016765.gif

Table 6: ---more--- Prompt Keyboard Sequences

Category

Action

Keyboard Sequence

Scroll Down

Scroll down one line.

Enter, Return, 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.

Space 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 command.)

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

For more information about working with command output, see Filtering Command Output.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]