Classification of Shortcut Keys

Shortcut keys consist of user-defined and system shortcut keys. After understanding the classification of shortcut keys, you can use shortcut keys quickly and accurately.

Shortcut keys in the system are classified into two types:

Different terminal software defines shortcut keys differently. Therefore, the shortcut keys on a terminal may be different from those listed in this section.

Table 1 System shortcut keys

Key

Function

CTRL_A

Moves the cursor to the beginning of the current line.

CTRL_B

Moves the cursor back one character.

CTRL_C

Stops the running function.

CTRL_D

Deletes the character at the cursor.

CTRL_E

Moves the cursor to the end of the current line.

CTRL_F

Moves the cursor forward one character.

CTRL_H

Deletes the character on the left of the cursor.

CTRL_K

Ends the connections for outgoing calls.

CTRL_N

Displays the next command in the historical command buffer.

CTRL_P

Displays the previous command in the historical command buffer.

CTRL_R

Redisplays information in the current line.

CTRL_T

Ends the connections for outgoing calls.

CTRL_V

Pastes the text of the clipboard.

CTRL_W

Deletes the word on the left of the cursor.

CTRL_X

Deletes all characters on the left of the cursor.

CTRL_Y

Deletes all characters on the right of the cursor.

CTRL_Z

Returns to the user view.

CTRL_]

Ends the connections for incoming calls or redirects the connection.

ESC_B

Moves the cursor back one word.

ESC_D

Deletes the word on the right of the cursor.

ESC_F

Moves the cursor forward one word.

ESC_N

Moves the cursor to the next line.

ESC_P

Moves the cursor to the previous line.

ESC_<

Locates the cursor at the start of text in the clipboard.

ESC_>

Locates the cursor at the end of text in the clipboard.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >