Шоткаты в командной строке

  • The up-arrow or control-p moves to the previous command in the history.
  • The down-arrow or control-n moves to the next command in the history.
  • The left-arrow or control-b moves back along the command line.
  • The right-arrow or control-f move forward along the command line.
  • control-a moves to the beginning of the command line.
  • control-e moves to the end of the command line.
  • control-d deletes the character directly under the cursor.
  • control-t toggles (swaps) the character under the cursor with the character immediately preceding it.
  • control-space marks the current cursor position.
  • control-w deletes the text between the mark and the current cursor position, copying the deleted text to the cut buffer.
  • control-k kills (deletes) from the cursor to the end of the command line, copying the deleted text to the cut buffer.
  • control-y yanks (pastes) the text from the cut buffer, inserting it at the current cursor location.

Loops: for, while, until

unix/command_line_shortcuts.txt · Last modified: 2014/09/07 02:22 by rybario
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5