"Linux uses" shell command line common shortcut keys

Source: Internet
Author: User
Tags clear screen

Move:

Ctrl + A: Moves to the beginning of the currently edited command,

Ctrl + B: Moves to the end of the currently edited command line,

Ctrl + F or->: move by word aligns (toward the end of the command line, forward)

Ctrl + B or <-: Moves left by character (toward the end of the command line, and then backwards)

Alt + F: Move right by word (toward end of command line, forward)

Alt + B: Moves left by word (toward the beginning of the command, then back)

Edit:

Ctrl + K: Delete from the cursor to the end of the command line

Ctrl + U: Delete from cursor to beginning of command

Ctrl + C: Delete entire row

Ctrl + L: Clear screen, equivalent to clear

CTRL + K: Cut the text until the end of the line (including itself), and you can paste it later with Ctrl + Y

CTRL + U: Cuts the text until the beginning of the line (excluding itself), which you can later paste with Ctrl + Y

CTRL + W: Cut from the cursor position to the starting position of the current word, and you can paste it later with Ctrl + Y

Alt + D: Cut from the position of the cursor to the end of the current word, you can later paste with Ctrl + Y

Ctrl + Y: After pasting into the cursor

"Linux uses" shell command line common 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.