beautypg.com

Partial online help, Terminal display, Command history – H3C Technologies H3C S3100 Series Switches User Manual

Page 26

background image

1-13

Partial online help

1) Enter a character/string, and then a question mark (?) next to it. All the commands beginning with

the character/string will be displayed on your terminal. For example:

p?

ping

pwd

2) Enter a command, a space, a character/string and a question mark (?) next to it. All the keywords

beginning with the character/string (if available) are displayed on your terminal. For example:

display u?

udp

unit

user-interface

users

3) Enter the first several characters of a keyword of a command and then press . If there is a

unique keyword beginning with the characters just typed, the unique keyword is displayed in its

complete form. If there are multiple keywords beginning with the characters, you can have them

displayed one by one (in complete form) by pressing repeatedly.

Terminal Display

The CLI provides the screen splitting feature to have display output suspended when the screen is full.

When display output pauses, you can perform the following operations as needed (see

Table 1-3

).

Table 1-2 Display-related operations

Operation

Function

Press

Stop the display output and execution of the
command.

Press any character except , , /,
+, and - when the display output pauses

Stop the display output.

Press the space key

Get to the next page.

Press

Get to the next line.

Command History

The CLI provides the command history function. You can use the display history-command command

to view a specific number of latest executed commands and execute them again in a convenient way.

By default, the CLI can store up to 10 latest executed commands for each user. You can view the

command history by performing the operations listed in

Table 1-3

.

Table 1-3 View history commands

Purpose

Operation

Remarks

Display the latest executed
history commands

Execute the display
history-command
command

This command displays the
command history.

Recall the previous history
command

Press the up arrow key or

This operation recalls the
previous history command (if
available).