Terminal Shortcuts
Some shortcuts to use while working in the terminal:
Ctrl-A Go to start of line
Ctrl-E Go to end of line
Ctrl-L Clear screen without clearing current line
Ctrl-R Search previous commands
Ctrl-W Delete one word
Ctrl-U Delete back to start of line
Ctrl-Z Move currently running command to bg (bring it back using `fg`)
Esc-B Move back one word
Esc-F Move forward one word
Esc-U Make current word uppercase
Links
- Mastering Bash and Terminal and some more useful tips on the HN discussion on the article
- Become a command line ninja with these time saving shortcuts