In Cisco IOS software Review, we have come across keystroke shortcuts and command history.
Here lets recap what we have learned.
The CCNA certification requires:
- <Ctrl> + P or up arrow to show the previous command.
- <Ctrl> + N or down arrow to show the next command.
- <Ctrl> + B or left arrow to move the cursor back one character
- <Ctrl> + F or right arrow to move the cursor forward one character
- <Ctrl> + A moves the cursor to the beginning of the command line
- <Ctrl> + E moves the cursor to the end of the command line
- <ESC> + B moves the cursor back one word
- <ESC> + F moves the cursor forward one word
Use the following commands under privileged mode to manage command history:
- terminal history to turn on the command history
- terminal no history to turn off the command history
- terminal history size 50 to set the size of the history buffer
- show history to show all commands in the history