Quick-action list of shortcut keys for Linux terminal command line

Source: Internet
Author: User

Ctrl+r enables quick retrieval of used historical commands. Ctrl+r R is the R in retrieve.
CTRL + A: The cursor returns to the beginning of the command. (A:ahead)
CTRL+E: The cursor returns to the end of the command line. (E:end)
Ctrl+w: Deletes the character at the beginning of the cursor.
Ctrl+k: Deletes the character at the end of the line at the cursor.
Ctrl+u: Deletes the entire command line text character.
Ctrl+y:: Paste ctrl+u,ctrl+k,ctrl+w deleted text.


Other control keys:
CTRL+B: The cursor moves one character to the beginning of the line. (b:backwards)
CTRL + F: The cursor moves one character at the end of the line. (f:forwards)
Ctrl+h: Removes a character from the beginning of the line.
Ctrl+d: Deletes one character at the end of a line.
Ctrl+p: The previous used History command. (p:previous)
CTRL + N: The next use History command. (N:next)
Ctrl+t: Swap the character of the cursor and its preceding character.
Ctrl+i: Equivalent to Tab key.
Ctrl+o: Equivalent to Ctrl+m.
Ctrl+m: Equivalent enter key.

CTRL + N equals the direction down direction key.

The ctrl+p corresponds to the direction-up direction key.


Ctrl+s: Make the Terminal daze, still, can make the terminal screen of the fast output stop.
Ctrl+q: Exit Ctrl+s caused by Daze.
CTRL + Z: Enables tasks that are running in the terminal, running in the background. (FG Recovery available)
CTRL + C: Interrupts the task being performed in the terminal.
Ctrl+d: You can exit the terminal in the case of an empty command line.
Ctrl+[: Equivalent to the ESC key.
ESC key: Displays all supported terminal commands 3 times in a row.
Tab: command, file name and other auto-complete function.

Quick-action list of shortcut keys for Linux terminal command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.