In summary, the development system is OS X 10.11.4, the tool is ITerm2, and the practice is currently based solely on that environment.
1. Most commonly used
Cmd+c: Copy
Cmd+v: Pasting
TAB: Complement
CTRL + A: Move to command start position
Ctrl+e: Move to command end position
Cmd+k: Delete Here to start all content (Refresh screen) | Ctrl+l: Refresh Screen
CTRL + C: Kill current task
2. Window operation
Cmd+t: New tab page
CMD+W: Close tab
cmd+←: Previous page tab
cmd+→: Next tab
shift+cmd+←: Tab Shift left
shift+cmd+→: Tabs Move Right
Cmd+n: New Window
CMD+Q: Closing the terminal
F11: Fullscreen
Ctrl+plus: Magnification window
Ctrl+minus: Shrinking window
Ctrl+0: Original Size
3. Operation Input Command
PageUp: Show Previous command
PageDown: Show Next command
!num: The num command that executes the command history list
!! : Executes the previous command
!? String: Executes the most recent command containing string strings, such as: (ls!ls) = = ls
Ctrl+r then enters several strings, starts searching for the command that contains the character, and continues to press CTRL + C to search for the previous match
ESC+B: Cursor moves forward one word
ESC+F: Cursor moves backward one word
Ctrl+u: Removes all characters before the cursor (excluding itself)
Ctrl+k: Delete all characters (including itself) after the cursor is located
Ctrl+h: Delete the previous character where the cursor is located
Shift+b: Enter uppercase B for 26 letters
Shell Terminal shortcut key summary (MAC)