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