In vi editing mode, the automatic completion full-featured command is implemented: Ctrl + n, Ctrl + p. In editing mode, after a word is entered in vi, the text word is remembered. In the vi editing mode, you can use Ctrl + n, ctrl + p to automatically complete and input the word (for some characters of the word to be queried...
In vi editing mode, the automatic completion full-featured command is implemented: Ctrl + n, Ctrl + p.
In editing mode, after a word is entered in vi, the text word is remembered.
In the vi editing mode, you can use Ctrl + n, ctrl + p to automatically complete words (some characters of the word to be queried) and enter prompts.
Where:
N in Ctrl + n is n in next;
In Ctrl + p, p is in previous.
In command mode, Ctrl + n is equivalent to j (down), Ctrl + p is equivalent to k (up ).
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: backward)
Ctrl + f: move a character to the end of the line. (F: fforwards)
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.
Other control keys:
Ctrl + s: to make the terminal daze and static, you can stop the terminal screen for quick output.
Ctrl + q: exit the daze caused by Ctrl + s.
Ctrl + z: run the task running on the terminal on the background. (Fg recovery available)
Ctrl + c: the task being executed in the terminal town.
Ctrl + d: exit the terminal if the command line is empty.
Ctrl + [: equivalent to the Esc key.
Esc key: displays all supported terminal commands three times in a row.
Tab key: the key command is automatically completed.
From the wzb56 column