Linux Shell shortcut keys

Source: Internet
Author: User

Common


Ctrl+r: Quick Search History Command (Retrieve)

Ctrl+u: Delete entire command line text character (Unity)


Ctrl+s: Pausing a Running program (STOP)

Ctrl+q: Exit Pause (quit)

CTRL + Z: Enables tasks that are running in the terminal, running in the background (FG recovery available)

CTRL + C: Interrupt the task being performed in the terminal (complete)

Ctrl+d: Can exit terminal (drop out) in case of empty command line

Ctrl+p: Previous used History command, equivalent up arrow (Previous)

CTRL + N: The next use of the history command, equivalent to the down arrow (next)

Ctrl+[: Equivalent to the ESC key


ESC key: Display all supported terminal commands 3 times in a row

Tab: command, file name, etc. auto-complete function

Move cursor

CTRL + A: Cursor positioned at beginning of line (Ahead)

Ctrl+e: Cursor positioned at end of line (end)

CTRL+B: Cursor moves one character to the beginning of the line (backwards)

CTRL+F: Cursor moves one character to the end of the line (forwards)

Delete character

Ctrl+w: Delete the character at the beginning of the cursor

Ctrl+k: Delete the character at the end of the line at the cursor

Ctrl+h: Remove a character from the beginning of the line

Ctrl+d: Deletes a character to the end of a line

Ctrl+y: Pasting

Ctrl+t: Swap the character of the cursor and its preceding character (Turn to)




Linux Shell shortcut keys

Related Article

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.