
Як зробити так, щоб не вводити вже введену команду ще раз?
- 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
Для пересування курсора командним рядком не можна скористатися вказівником миші. Пересувати курсор можна натисканням клавіш Стрілка ліворуч та Стрілка праворуч.
Note
Typing at the cursor inserts text there without overwriting existing text.
- Ctrl+a або Home
Moves the cursor to the start of the line.
- Ctrl+e або End
Moves the cursor to the end of the line.
- Ctrl+k
Deletes from the current cursor position to the end of the line.
- Ctrl+u
Deletes the entire current line.
- Ctrl+w
Deletes the word before the cursor.