
键入时保存
- 上箭头 或 Ctrl+p
Scrolls backwards through the commands entered previously
- 下箭头 或 Ctrl+n
Scrolls forward through previous commands
- 回车
执行所选的命令
- Tab
Tab is a useful feature. It autocompletes any commands or filenames if there is one option, otherwise it displays a list of options that fit the information entered. Using tab in this way reduces typing errors.
Change the Text
Note
The mouse won't work to position the cursor in a command line entry. Use the Left Arrow or the Right Arrow keys to move within the line.
Note
Typing at the cursor inserts text there. It doesn't overwrite what is already there.
- Ctrl+a 或 Home
将光标移到 行首
- Ctrl+e 或End
将光标移到 行尾
- Ctrl+k
从当前光标位置删除到行尾
- Ctrl+u
删除整行
- Ctrl+w
删除光标前的单词