Typing commands, Editing command lines – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 20

Advertising
background image

5

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:

<Sysname> 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:

<Sysname> system-view
[Sysname] interface vlan-interface ?
<1-4094> VLAN interface number
[Sysname] interface vlan-interface 1 ?
<cr>
[Sysname] interface vlan-interface 1

The string <cr> 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).

<Sysname> f?
fdisk
fixdisk
format
free
ftp
<Sysname> display ftp?
ftp
ftp-server
ftp-user

Typing commands

Editing command lines

Table 2

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

Table 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 moves the cursor to the right.

Backspace

Deletes the character to the left of the cursor and moves the cursor back one
character.

Advertising