beautypg.com

Typing commands, Editing command lines – H3C Technologies H3C S7500E Series Switches User Manual

Page 17

background image

1-6

bootrom Update/read/backup/restore bootrom

cd Change current directory

clock Specify the system clock

…Omitted…

2) Type part of a command and a ? separated by a space.

If ? is at the position of a keyword, the CLI displays all possible keywords with a brief description for

each keyword. For example:

terminal ?

debugging Send debug information to terminal

logging Send log information to terminal

monitor Send information output to current terminal

trapping Send trap information to terminal

If ? is at the position of an argument, the CLI displays a description about this argument. For example:

system-view

[sysname] interface vlan-interface ?

<1-4094> VLAN interface number

[sysname] interface vlan-interface 1 ?

[sysname] interface vlan-interface 1

The string indicates that the command is a complete command, and you can execute the

command by pressing Enter.

3) Type an incomplete character string followed by a ?. The CLI displays all commands starting with

the typed character(s).

c?

cd

clock

cluster

copy

display cl?

clipboard

clock

cluster

Typing Commands

Editing Command Lines

Table 1-2

lists some shortcut keys you can use to edit command lines.

Table 1-2 Editing functions

Key

Function

Common keys

If the edit buffer is not full, pressing a common key inserts the character at

the position of the cursor and move the cursor to the right.

Backspace

Deletes the character to the left of the cursor and move the cursor back one

character.

Left arrow key or Ctrl+B

The cursor moves one character space to the left.