Keith Sinclair

← Cisco Reference

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.

CommandDescription
Ctrl + ABeginning of line
Ctrl + BBackward character
Ctrl + CClear line
Ctrl + DDelete character to the right
Ctrl + EEnd of line
Ctrl + FForward character
Ctrl + HBackspace character to the left
Ctrl + IRefresh line and go to end
Ctrl + JReturn
Ctrl + KDelete everything to the right of cursor
Ctrl + LRefresh line
Ctrl + MReturn
Ctrl + NNext command
Ctrl + PPrevious command
Ctrl + RRefresh line
Ctrl + TFlip last 2 characters
Ctrl + UClear line and put in buffer
Ctrl + VAllows to type control character
Ctrl + WDelete word backwards and put in buffer
Ctrl + XClear line to the left and put in buffer
Ctrl + YPaste buffer contents