Linux shell 常用快捷键
相信使用linux的你,肯定对这些常用的English不陌生,所以就不翻译了。
1. Ctrl + A - Go to the beginning of the line you are currently typing on
2. Ctrl + E - Go to the end of the line you are currently typing on
3. Ctrl + U - Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
4. Ctrl + K - Clear the line after the cursor
5. Ctrl + H - Same as backspace
6. Ctrl + R - Let’s you search through previously used commands
7. Ctrl + C - Kill whatever you are running
8. Ctrl + D - Exit the current shell
9. Ctrl + Z - Puts whatever you are running into a suspended background process. fg restores it.
10. Ctrl + W - Delete the word before the cursor
11. Ctrl + T - Swap the last two characters before the cursor
12. Esc + T - Swap the last two words before the cursor
13. Alt + B - Move cursor backward one word on the current line
14. Tab - Auto-complete files and folder names
15. Ctrl + b - Move back a character
16. Ctrl + f - Move forward a character
17. Ctrl + xx - Move between EOL and current cursor position
18. Alt + c - Capitalize the word
19. Alt + d - Delete word
20. Alt + l - Make word lowercase
21. Alt + u - Make word uppercase