On Unix-like operating systems, such as Linux and Mac OS X, mysql includes the GNU Readline librarya powerful tool that allows you to quickly navigate around the command line. Readline includes more than 100 commands, but only the dozen or so most useful commands are covered here. If you want to learn more about Readline, run man readline from your shell. Some of the most useful key bindings (along with handy mnemonics to help you remember them) are
Tip Mac OS X Terminal.app users: You need to change the behavior of your option key in order to use the alt key bindings (such as ALT+f). Follow these steps:
|