Edit command line-move the cursor/modify text/cut and paste text

Source: Internet
Author: User
Alt-Backspace: cut the text from the cursor to the header. If the cursor starts with a word, cut the previous word

Cursor movement command

Ctrl-A: Move the cursor to the beginning of the line.

Ctrl-E: Move the cursor to the end of the row.

Ctrl-F: Move the cursor one character forward.

Ctrl-B: Move the cursor one character backward.

Alt-F: Move the cursor forward a word.

Alt-B: Move the cursor backward.

Ctrl-L: clear the screen.

==============================================

Modify text

Ctrl-D: delete the character at the cursor.

Ctrl-T: enable the character at the cursor to match the character above it.

Alt-T: match the character at the cursor with the word above it.

Alt-L: converts characters at the cursor to lowercase letters.

Alt-U: converts the characters at the cursor into uppercase letters.

==============================================

Cut and paste text

Ctrl-K: cut the text from the cursor to the end of the line.

Ctrl-U: cut the text from the cursor to the beginning of the line.

Alt-D: cut the text from the cursor to the end of the current word.

Alt-Backspace: cut the text from the cursor to the header. If the cursor starts with a word, cut the previous word.

Ctrl-Y: paste the text in the buffer to the cursor position.

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.