Command line editing in GNU bash version 3, emacs mode
Meta key, usually Esc. Press and release key.
Ctrl key. Hold and press key(s) that follow.
Alt key. Hold and press key(s) that follow.
Action w/multiple shortcuts, each on separate lines.
Ex: C+a is one option, Home is another.
Display history (last n lines)
Display previous line in history
Display next line in history
C+r again will display previous match in history
Exit history search mode
Execute the command found via C+r or C+s
Execute last command
Execute last command that starts with abc
Execute previous command, replacing abc with def
Print last command that starts with abc
Print last argument from previous command
M,. again will display last argument from previous command in history
Variable which contains the last argument of the previous command
Variable which contains all arguments of the previous command
Delete the character to the left of the cursor
Delete the character to the right of (under) the cursor
On an empty line, C+d exits the current shell
Cut the word to the left of the cursor
Cut the word to the right of the cursor
Cut all characters to the left of the cursor
Cut all characters to the right of the cursor
Paste word or text that was cut using one of the deletion shortcuts
Convert the next word to lower case
Convert the next word to UPPER CASE
Convert the next word to Proper Case
Transpose the two characters on either side of the cursor and move right
Transpose the two words on either side of the cursor and move right
Insert x literally, even if x is a special character
Revert/Undo previous edit
Revert/Undo all edits
Expand the current line as the shell would before execution
If on first word of line, complete the command name.
If not on first word of line, complete the file name.
Show possible command/file name completions