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.