The user interface comes with an advanced editing feature that aids in typing repetitive commands. This feature helps administrators configure routers efficiently. The command history and editing features do not change the configuration in any way; their only purpose is to make things easier for the administrator.
Critical Information
First of all, you can turn off the advanced editing feature at any time with the terminal no editing command; you can reenable them with the terminal editing command.
Using the advanced editing feature is completely up to the administrator configuring the router. None of the advanced editing feature commands is mandatory in any configuration unless you are taking the CCNA exam, of course!
Table describes the different commands used to edit and review the command history.
Command Purpose
| Ctrl+A | Move to the beginning of the command line |
| Ctrl+E | Move to the end of the command line |
| Ctrl+F | (or right arrow) Move forward one character |
| Ctrl+B | (or left arrow) Move back one character |
| Ctrl+P | (or up arrow) Repeat previous command |
| Ctrl+N | (or down arrow) Repeat most recent command |
| Esc+B | Move backward one word |
| Esc+F | Move forward one word |
| Router>show history | Show command buffer |
| Router>terminal history | size Set command buffer size |
| Router>terminal no editing | Disable advanced editing |
| Router>terminal editing | Reenable advanced editing |
nother helpful editing feature is Tab, which completes an entry for you. For example, you could type show running-config and then press Tab:
Router#show run[Tab]
Router#show running-config
The router finishes typing in show running-config for you. Remember to use Tab for those long commands.
Related posts:
- Manage Router Configuration Files from the Privileged EXEC Mode
- Control Router Passwords, Identification and Banner
- Initial Configuration in Router Using the Setup Command
- Examine Router Elements
- Router Configuration using Setup Command
- Context-Sensitive Help Facility
- Commands to Monitor Frame Relay Operation in the Router
- Log in to a Router in Both User and Privileged Modes
- Monitor and Verify Selected Access list Operations on the Router
- Configure IP Addresses







