Cisco Command Line Editing Keys (BASH too)
The following is useful when working with Cisco IOS (and many other command shells from other vendors including Linux BASH) and wanting to use keyboard shortcuts to help speed up working with the CLI.
| Command | Description |
|---|---|
| Ctrl + A | Beginning of line |
| Ctrl + B | Backward character |
| Ctrl + C | Clear line |
| Ctrl + D | Delete character to the right |
| Ctrl + E | End of line |
| Ctrl + F | Forward character |
| Ctrl + H | Backspace character to the left |
| Ctrl + I | Refresh line and go to end |
| Ctrl + J | Return |
| Ctrl + K | Delete everything to the right of cursor |
| Ctrl + L | Refresh line |
| Ctrl + M | Return |
| Ctrl + N | Next command |
| Ctrl + P | Previous command |
| Ctrl + R | Refresh line |
| Ctrl + T | Flip last 2 characters |
| Ctrl + U | Clear line and put in buffer |
| Ctrl + V | Allows to type control character |
| Ctrl + W | Delete word backwards and put in buffer |
| Ctrl + X | Clear line to the left and put in buffer |
| Ctrl + Y | Paste buffer contents |