A big hurdle a lot of people face when learning to use the terminal is the fact that it feels slow compared to navigating around in Finder or other GUIs. Using the terminal doesn’t have to feel slow. Once you learn a few keyboard shortcuts, it can greatly increase the speed at which you can navigate and run commands within the command line.
In this video we’ll be going over some of the keyboard shortcuts I use on a daily basis.
Shortcuts covered in this video:
- Ctrl+a – Go to the beginning of the line
- Ctrl+e – Go to the end of the line
- Option+Arrows – Move one word at a time
- Option+Click – Move to click location
- Ctrl+u – Delete everything before cursor
- Ctrl+k – Delete everything after cursor
- Tab – Auto-complete
- Drag and Drop – Auto-complete
- Up/Down Arrow – Scroll through command history
- !+text – Previous command starting with specified text
- Ctrl+r – Reverse Search
- Ctrl+l – Clear Screen
- Cmd+k – Clear Scrollback