Helpful Terminal keyboard shortcuts
- Go to the beginning of the line:
Ctrl+A - Go to the end of the line:
Ctrl+E - Toggle between the start of the line and the current cursor position:
Ctrl+XX - Remove characters from the current position to the beginning:
Ctrl+U - Remove characters from the current position to the end:
Ctrl+K - Remove characters from the current position to the beginning of the word:
Ctrl+W - Restore the deleted characters:
Ctrl+Y