Linux 终端快捷键 ##注:以下字母不分大小写 # Ctrl A - Go to the beginning of the line you are currently typing on # Ctrl E - Go to the end of the line you are currently typing on 切到命令行开始|结尾 # Ctrl xx - Move between EOL and current cursor position 光标在当前行的开头和结尾切换 # Ctrl L - Clears the Screen, similar to the clear command 清屏,类似于 clear 命令 --------------------------------------- # Ctrl U - Clears the line before the cursor position
If you are at the end of the line, clears the entire line
清除光标之前的所有内容 # Ctrl K - Clear the line after the cursor 清除光标之后的所有内容 --------------------------------------- # Ctrl H - Same as backspace 退格键 backspace --------------------------------------- # Alt F - Move cursor forward one word on the current line 光标向前移动一个词的距离 # Alt B - Move cursor backward one word on the current line 光标向后