技巧

節省打字時間

Up Arrow or Ctrl+p

Scrolls backwards through the commands entered previously.

Down Arrow or Ctrl+n

Scrolls forward through previous commands.

Enter

Executes the selected command.

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.

變更文字

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 without overwriting existing text.

Ctrl+a or Home

Moves the cursor to the start of the line.

Ctrl+eEnd

Moves the cursor to the end of the line.

Ctrl+k

會將目前游標位置到最尾端的字全部刪除

Ctrl+u

Deletes the entire current line.

Ctrl+w

會刪除游標前面的字