Delete the command string forward from the cursor. | |
Delete the command string backward from the cursor. | |
ctrl + w | Delete one word before the cursor. |
alt + d | Delete one word after the cursor. |
ctrl + y | Paste the deleted string. |
Move cursor | |
ctrl + a | Move the cursor to the front of the entire command string. |
ctrl + e | Move the cursor to the end of the entire command string. |
ctrl + left | Move the cursor to the front of the previous word. |
ctrl + right | Move the cursor to the end of the next word. |
history | View command history |
Linux 命令行的光标移动和删除字符串操作
于 2022-03-04 14:20:00 首次发布