Skip to content

Instantly share code, notes, and snippets.

@malandro-sv
Created November 12, 2016 23:58
Show Gist options
  • Select an option

  • Save malandro-sv/bff5991aeda92e6dcfacc06ee04015db to your computer and use it in GitHub Desktop.

Select an option

Save malandro-sv/bff5991aeda92e6dcfacc06ee04015db to your computer and use it in GitHub Desktop.
Cisco IOS CLI Shortcuts
Cursor Movement Shortcuts
Ctrl+A Move cursor to the beginning for the line Alpha, First letter == beginning
Ctrl+E Move cursor to the end of the line E for End
Ctrl+F Move cursor forward one character F for Forward
Ctrl+B Move cursor backward B for Backward
Esc+F Moves forward one word Always forget the escape version
Esc+B Moves backwards one word Ditto
Ctrl+P Previous command P for Previous – also up arrow
Ctrl+N Next command N for Next – also down arrow
Editing Shortcuts
Ctrl+W Delete the word to the left from the cursor W for Word
Ctrl+U Delete the whole line ??
Ctrl+T Swap or transpose the current character with the one before it T for Transpose
Ctrl+K Erase characters from the cursor to end of the line ??
Ctrl+X Erase characters from the cursor to beginning of the line ??
Esc+D Delete from Cursor to end of word
Delete Removes the character to the right of the cursor
Backspace Removes the character to the left of the cursor
Up Arrow Allows you to scroll forward through previous commands
Down Arrow Allows you to scroll backwards through previous commands
Functional Shortcuts
Ctrl+L Reprint the line L for Line
Ctrl+R Refresh R for Repeat – starts a new line, with the same command shown (If the system sends a message to the screen while a command is being entered and your are not using line synchonisation
Tab Command autocomplete No Comment
Ctrl+C Exit. Exit from config mode
Ctrl+Z Apply the command line and exit from config mode ie. return to privileged EXEC mode.
Ctrl+Shift+6 (X) CTRL-SHIFT-6 is one action, the X is the second action
Less Common Shortcuts
Esc, C Makes the letter at the cursor uppercase. C for Capital
Esc, L Changes the word at the cursor to lowercase L for Lower
Esc, U Makes letters from the cursor to the end of the word uppercase. U for Uppercase
Using the Delete Buffer
The buffer stores the last ten items that have been deleted using Ctrl-K, Ctrl-U, or Ctrl-X
Ctrl-Y Paste the most recent entry in the delete buffer Y for “Yank” as in Yank from buffer
Esc-Y Paste the Previous entry in the history buffer Y for “Yank” as in Yank from buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment