next up previous contents index
Next: Command and File Completion Up: Time Saving with bash Previous: Time Saving with bash

Command-Line Editing


Occasionally, you've typed a long command to bash  and, before you hit return, notice that there was a spelling mistake early in the line. You could just delete all the way back and retype everything you need to, but that takes much too much effort! Instead, you can use the arrow keys to move back there, delete the bad character or two, and type the correct information.

There are many special keys to help you edit your command line, most of them similar to the commands used in GNU Emacs . For instance, tex2html_wrap8284 flips two adjacent characters.gif You'll be able to find most of the commands in the chapter on Emacs, Chapter gif.


Converted on:
Mon Apr 1 08:59:56 EST 1996