Shortcut keys commonly used in Linux terminals

Source: Internet
Author: User

1. Move cursor shortcut keys

Ctrl+f move forward one character

Ctrl+b Move backward one character

Alt+f move forward one word

Alt+b Move backward One word

CTRL + A moves to the beginning of the current

Ctrl+e move to the end of the current line

Ctrl+l clear the screen and start a new line at the top of the screen


2. Edit command-line shortcut keys

Ctrl+d Delete the current character

Ctrl+t swap the position of the current character and the previous character

Alt+t Exchange The position of the current word and the previous word

Alt+u the current word into uppercase

Alt+l the current word into lowercase

Alt+c A word that turns the current word into an initial capital letter

CTRL + V to add a special character, for example, to add a tab, press Ctrl+v+tab



3. Cut and paste shortcut keys

Ctrl+k cut text until the end of the line

Ctrl+u cut text until the beginning of the line

Ctrl+w the word before cutting the cursor

Alt+d words after clipping the cursor

Ctrl+y pasting recently cut text

Alt+y Rewind to the previously clipped text and paste it

CTRL + C Delete entire row


Shortcut keys commonly used in Linux terminals

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.