Common shortcut keys for bash and VI editors

Source: Internet
Author: User

Description

playing Linux, for your current usage, Bash command line and vi editing use is almost the most, every operation, no matter what to do, can not do without these two operations, so if you can skillfully grasp the bash and vi editor shortcut keys, That obviously will greatly improve our operational efficiency and efficiency.



1.bash Common shortcut keys

In fact, there are many, but in practice often used, the use of relatively high frequency, there will be the following:

Shortcut keys Function
Ctrl + A Switch to command line start
Ctrl + E Switch to the end of the command line
Ctrl + L Erase screen content, effect equivalent to clear
Ctrl + u Clear the content before the cut cursor
Ctrl + K Cut clears the contents after the cursor
Ctrl + y Paste the character you just deleted
Ctrl + R Find in the history command (this is very useful, enter the keyword to recall the previous command)
Ctrl + C Terminate command
Ctrl + D Exit the shell, equivalent to Logout



2.VI Editor Common shortcut keys

See bird Brother's book or Internet search, shortcut keys also have a lot of, my own commonly used summarized as follows, although is summed up, but to tell the truth, but also a lot, but are very practical, the following is the way I use the drawing to summarize:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/56/wKiom1X6b4rTKbDMAAN66eFIEZ4115.bmp "title=" VI editor. BMP "alt=" Wkiom1x6b4rtkbdmaan66efiez4115.bmp "/>

This article is from the "fragrant fluttering leaves" blog, please make sure to keep this source http://xpleaf.blog.51cto.com/9315560/1695724

Common shortcut keys for bash and VI editors

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.