home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Learning the Korn Shell

Learning the Korn ShellSearch this book
Previous: B.6 Typeset Options Appendix B
Reference Lists
Next: B.8 Vi Control Mode Commands
 

B.7 Emacs Mode Commands

Here is a complete list of all Emacs editing mode commands.

Command Meaning
CTRL-A Move to beginning of line
CTRL-B Move backward one character (without deleting)
CTRL-C Capitalize character after point
CTRL-D Delete one character forward
CTRL-E Move to end of line
CTRL-F Move forward one character
CTRL-J Same as RETURN.
CTRL-K Delete ("kill") forward to end of line
CTRL-L Redisplay the line
CTRL-M Same as RETURN
CTRL-N Next line
CTRL-O Same as RETURN, then display next line in history file
CTRL-P Previous line
CTRL-R Search backward
CTRL-T Transpose two characters
CTRL-U Repeat the following command four times
CTRL-V Print the version of the Korn shell
CTRL-W

Delete ("wipe") all characters between point and mark (see below)

CTRL-Y Retrieve ("yank") last item deleted
CTRL-X CTRL-X Exchange point and mark
CTRL-] x Search forward for x, where x is any character
DEL Delete one character backward
CTRL-[ Same as ESC (most keyboards)
ESC b Move one word backward
ESC c Change word after point to all capital letters
ESC d Delete one word forward
ESC f Move one word forward
ESC h Delete one word backward
ESC l Change word after point to all lowercase letters
ESC p Save characters between point and mark as if deleted
ESC CTRL-H Delete one word backward
ESC CTRL-] x Search backward for x , where x is any character
ESC SPACE Set mark at point
ESC # Insert line in history file for future editing
ESC DEL Delete one word backward
ESC < Move to first line of history file
ESC > Move to last line of history file
ESC . Insert last word in previous command line after point
ESC _ Same as above
ESC ESC Do filename completion on current word
ESC * Do filename expansion on current word
ESC = Insert line in history file for future editing


Previous: B.6 Typeset Options Learning the Korn Shell Next: B.8 Vi Control Mode Commands
B.6 Typeset Options Book Index B.8 Vi Control Mode Commands

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System