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.