In the shell command terminal, CTRL + N is equivalent to the downward direction key, and CTRL + P is equivalent to the upward direction key.
You can use them or the arrow keys in the Command terminal to quickly find historical commands. This is also a quick command input technique.
In the command terminal, you can use Ctrl + R to quickly retrieve used historical commands. In Ctrl + R, R is in retrieve.
CTRL + A: move the cursor back to the beginning of the command line. (A: ahead)
CTRL + E: move the cursor back to the end of the command line. (E: end)
CTRL + B: move the cursor to the first character of the line. (B: backwards)
CTRL + F: Move a character to the end of the line. (F: forwards)
CTRL + W: Delete the character from the cursor to the beginning of the line.
CTRL + K: Delete the character from the cursor to the end of the line.
CTRL + u: Delete the entire command line text character.
CTRL + H: delete a character from the beginning of the line.
CTRL + D: delete a character from the end of the line.
CTRL + Y: paste Ctrl + u, CTRL + k, CTRL + W to delete the text.
CTRL + P: the previous historical command. (P: Previous)
CTRL + N: The next historical command. (N: Next)
CTRL + R: the quick search history command. (R: retrieve ).
CTRL + T: The character where the cursor is located and the character before it.
CTRL + I: equivalent to the tab key.
CTRL + O: equivalent to Ctrl + M.
CTRL + M: equivalent to the Enter key.