• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
Network Chatter

Network Chatter

Network Chatter

  • How To’s
    • Network How-To’s
    • VMWare How-To’s
  • Pro Tips
  • Questions
  • Miscellaneous
  • Netacad Lecture Notes
    • ENSA-v7
  • About Network Chatter

HowTo: Learn Cisco IOS Command Line Editing Keys

September 27, 2019 Leave a Comment

Memorizing the Cisco IOS command line editing keys can seem like a tough task. With modern keyboards that have up/down/left/right arrows, we do not find ourselves dependant on these keys. It is difficult to remember them when you are not using them on a daily basis. Here is my thought process behind learning and remembering the keys.

Forward and Backwards – Characters and Words


Rember that Character=CTRL, Word=ESC, Forward=F, and Backwards=B. The CTRL character keys have been replaced by the use of left/right arrow keys on modern keyboards.

Forward (F)Backwards (B)
Character (CTRL)Ctrl-F (Same as right arrow)Ctrl-B (Same as left arrow)
Word (ESC)Esc-FEsc-B

Beginning of Line/End of Line


Think “A” beginning of alphabet, beginning of line and “E” is for end, end of line.

CTRL-ABeginning of Line
CTRL-EEnd of Line

Command History


Think “P” is for previous, previously entered commands. Think “N” is for next, or the next commands that were entered. These two keys move you through the command history of previously entered commands. These keys have been replaced by the use of the up/down arrow keys on modern keyboards.

CTRL-P (Same as up arrow)Previous Command
CTRL-N (Same as down arrow)Next Command

Refreshing an Interrupted Command


Sometimes while typing a command you will get interrupted by a console message that is displayed. This can make it difficult to continue typing if you get distracted by the message and can’t remember what you were typing.

CTRL-RRefreshes the current line you were typing

Although CTRL-R is the most common an accepted method of refreshing the current line you are typing, CTRL-L will also work.

On a side note, you can enable permanent line refreshing when a console message is displayed by entering the following command:

Router(config)#line vty 0 4
Router(config-line)#logging synchronous

Other Editing Commands


There are other command line editing keys that can be used. Although they are not commonly used, you can find more information about them on Cisco’s home page.

Filed Under: Network How-To's

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Articles

  • ProTip: How to protect yourself from config flubs with the Cisco “reload in” command.
  • HowTo: Configure an AUX port on a Cisco Router
  • HowTo: Backup your VMs off an ESXi Server

Copyright © 2025 · Dale Henninger · All Rights Reserved