31.2.2 Readline Movement Commands
The above table describes the most basic keystrokes that you need in order to do editing of the input line. For your convenience, many other commands have been added in addition to C-b, C-f, C-d, and <DEL>. Here are some commands for moving more rapidly about the line.
- Move to the start of the line.
- Move to the end of the line.
- Move forward a word, where a word is composed of letters and digits.
- Move backward a word.
- Clear the screen, reprinting the current line at the top.
Notice how C-f moves forward a character, while M-f moves forward a word. It is a loose convention that control keystrokes operate on characters while meta keystrokes operate on words.