Four Terminal Shortcuts That You Can't Live Without
If you spend a lot of time at the command line, you will be able to appreciate these shortcuts.
- Ctrl+K delete all text to the right of the cursor
- Ctrl+U delete all text to the left of the cursor
- Ctrl+A jump to the beginning of the line
- Ctrl+E jump to the end of the line
On the Mac, Option+click anywhere and your cursor will jump there.