Linux Command Line shortcut key linux Command Line shortcut key: C-k: press Ctrl first, then press k; M-k: click Esc first, then press k. Www.2cto.com move cursor: C-a: Move to the beginning of the line C-e: Move to the end of the line C-B: Move back (left) Move a character C-f: Move back (right) move one character M-B: move one word back (left) M-f: move one word back (right) delete character: C-h: delete the character C-d at the left of the cursor: Delete the character at the right of the cursor (Note: if the current command line does not contain any character, the system or terminal will be logged out) delete the word: m-d: delete a word from the cursor until the word ends. C-w: The word is deleted from the cursor position to the left. Delete row www.2cto.com: C-k: Starting from the cursor position. Delete All characters on the right until the row ends. C-u: starts from where the cursor is located. All characters on the left are deleted until the row starts. The entire row can be deleted by combining C-a C-k, C-e C-u, or C-k C-u. C-l: Clear the screen, and then re-display the content of the row where the current cursor is located on the top. Recovery Operation: C-_: The status before the reply. Cancel the operation. Paste: C-y: paste the deleted character or string to the position of the cursor. Repeated operation action: M-operation count operation action: specifies the number of operations and repeats the specified operation. Search for the history command C-p: display the previous history command C-n of the current command: display the next history command C-r: Search for History commands, as the input displays a matching command in the History command, the Enter key executes the matching command; the ESC key is displayed on the command line without executing the matching command.