Linux Study Notes-common shortcut keys in the command line

Source: Internet
Author: User

Linux Study Notes-common shortcut keys in the command line

This section describes several common shortcut keys in Linux Bash Shell.

Delete shortcut keys:

"Ctrl + k" delete all characters after the cursor "ctrl + u" delete all characters before the cursor "ctrl + w" Delete the word before the cursor "ctrl + y" Restore "ctrl + k "," ctrl + u "," ctrl + w ", and other characters deleted during the last execution" ctrl +? "Undo the previous input

Mobile shortcut keys:

"Ctrl + a" move the cursor to the beginning of the command line "ctrl + e" move the cursor to the end of the command line "ctrl + →" move the cursor to the beginning of the last word "ctrl + ←" move the cursor end of the previous word

Shortcut Keys for searching History commands:

"Found" find the last executed command "found" find the next executed command "ctrl + p" find the last executed command "ctrl + r" Enter the word search history command

Other shortcut keys:

"Ctrl + c" Force terminate the current command "ctrl + l" clear screen, equivalent to the "clear" command "TAB" command or directory auto-completion "ctrl + s" lock terminal "ctrl + q" unlock terminal "alt + r" Xshell shortcut, making Xshell tool translucent

There are many other shortcut keys in Linux Command lines. Here we mainly introduce several commonly used shortcut keys.

After the shortcut key is used, it immediately becomes too tall to knock on the code.

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.