System-defined shortcut keys with fixed functions are defined by the system. Table 1 shows the primary shortcut keys of the system.
Different terminal software defines these keys differently. Therefore, the shortcut keys on the terminal may be different from those listed in this section.
Function Key |
Function |
|---|---|
CTRL_A |
Moves the cursor to the beginning of the line. |
CTRL_B |
Moves the cursor one character to the left. |
CTRL_C |
Stops the current command function. |
CTRL_D |
Deletes the character at the cursor. |
CTRL_E |
Moves the cursor to the end of the line. |
CTRL_F |
Moves the cursor one character to the right. |
CTRL_H |
Deletes the character to the left of the cursor. |
CTRL_I |
Inputs TAB. |
CTRL_J |
Inputs Enter. |
CTRL_K |
Terminates the outgoing connection. |
CTRL_M |
Starts a new line. |
CTRL_N |
Displays the next command in the history buffer. |
CTRL_P |
Displays the previous command in the history buffer. |
CTRL_V |
Pastes the text from the clipboard. |
CTRL_W |
Deletes the character to the left of the cursor. |
CTRL_X |
Deletes all characters from the cursor to the beginning of the line. |
CTRL_Y |
Deletes all characters from the cursor to the end of the line. |
CTRL_Z |
Returns to the user view. |
CTRL_] |
Terminates the incoming connection or redirects the connection. |
ESC_B |
Moves the cursor back one word. |
ESC_D |
Deletes the word to the right of the cursor. |
ESC_F |
Moves the cursor forward one word. |
ESC_N |
Moves the cursor one line down. |
ESC_P |
Moves the cursor one line up. |
ESC_< |
Locates the cursor at the start of text in the clipboard. |
ESC_> |
Locates the cursor at the end of text in the clipboard. |