Table of ContentsView in Frames

Using the command-line editor

The command-line editor enables you to position the cursor anywhere in a partially typed command and insert characters at the cursor position.

Step

  1. Use the applicable key combination to move the cursor within the same line and edit the command:
    If you want to... Then press...
    Move the cursor right one position Ctrl-f or the Right arrow key
    Move the cursor left one position Ctrl-b or the Left arrow key
    Move the cursor to the end of the line Ctrl-e
    Move the cursor to the beginning of the line Ctrl-a
    Delete all characters from the cursor to the end of the line Ctrl-k
    Delete the character to the left of the cursor and move the cursor left one position Ctrl-h
    Delete the line Ctrl-u
    Delete a word Ctrl-w
    Reprint the line Ctrl-r
    Abort the current command Ctrl-c