Input edit commands

The input edit commands for the Korn shell are described below.

Note: By default, the editor is in input mode.

Item Description
ERASE Deletes the previous character. (User-defined erase character as defined by the stty command, usually Ctrl-H or #.)
Ctrl-W Deletes the previous blank separated word.
Ctrl-D Terminates the shell.
Ctrl-V Escapes the next character. Editing characters, such as the ERASE or KILL characters, can be entered in a command line or in a search string if preceded by a Ctrl-V key sequence. The Ctrl-V key sequence removes the next character's editing features (if any).
\ Escapes the next ERASE or KILL character.