10 shortcut keys (navigation and editing) in Mac OS X command line)

Source: Internet
Author: User


10 shortcut keys (navigation and editing) in Mac OS X command line)
Last time I introduced 12 common shortcut keys when editing a document in Mac OS x. Today I will add a series of shortcut keys for operations on the terminal. These shortcuts are common in terminals, including bash command lines. You can use the following shortcut keys to quickly locate www.2cto.com in the text: jump to the beginning of the line-Control + A jump to the end of the line-Control + E jump to the next line-Control + N jump to the first line-Control + P Delete the previous word-Control + W Delete from the current cursor position to the text at the beginning of the line-Control + U Delete the text from the current cursor position to the end of the line-Control + K of course, you can use the most basic arrow keys for navigation. Www.2cto.com has three shortcut keys used to cut and paste the command line. The command line has a unique cut and paste method, called "kill" and "yank ": cut the text from the current cursor position to the beginning of the line-Control + U cut the text from the current cursor position to the end of the line-Control + K paste the last cut content at the current position of the cursor-Control + Y since the kill and yank commands do not affect the clipboard content, therefore, it can be used as a "second clipboard", even in Mac OS X applications with many graphical interfaces.

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.