< Home

Using Command Line Shortcut Keys

System-defined shortcut keys cannot be defined by users and have fixed functions. Table 1 lists the system-defined shortcut keys.

The terminal in use may affect the functions of the shortcut keys because the shortcut keys entered by the user are captured by the terminal program. For example, if the shortcut keys defined by the terminal conflict with those defined in the system, the commands corresponding to the shortcut keys are not executed.

System-defined Shortcut Keys

Table 1 System-defined 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 performing current functions.

Ctrl+D

Deletes the character where the cursor is located at.

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 side of the cursor.

Ctrl+J

Line feed.

Ctrl+K

Stops outgoing connections in the call establishment stage.

Ctrl+M

Line feed.

Ctrl+N

Displays the next command in the history command buffer.

Ctrl+P

Displays the previous command in the history command buffer.

Ctrl+R

Redisplays information about the current line.

Ctrl+T

Stops outgoing connections.

Ctrl+V

Pastes the text of the clipboard.

Ctrl+W

Deletes a character string on the left side of the cursor.

Ctrl+X

Deletes all the characters on the left side of the cursor.

Ctrl+Y

Deletes all the characters on the right side of the cursor and the character where the cursor is located at.

Ctrl+Z

Returns to the user view.

Ctrl+]

Stops incoming connections or redirects the connections.

Esc+B

Moves the cursor back one word.

Esc+D

Deletes one word on the right side of the cursor.

Esc+F

Moves the cursor forward one word.

Esc+N

Moves the cursor downward a line.

Esc+P

Moves the cursor upward a line.

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