While entering a command, you can move around in the command-line text and edit it. The following list shows the control key strokes that are available:
Left and right arrow keys: Move the cursor to either the left or to the right on the command line.
Up and down arrow keys: Scroll up and down in the command history.
Ctrl-L: Retype the line.
Ctrl-U: Erase the line.
Ctrl-C: Quit the command.
Ctrl-R: Search the command history.
Ctrl-E: Move to the end of the command.
Ctrl-A: Move to the beginning of the command.