Cisco IOS Keyboard Shortcuts

A number of shortcuts exist within the IOS command line interface. The most famous shortcut is the ‘TAB’ command, that completes a partially typed CLI command. For istance, if you type “sh ru” and press TAB, it will complete the command as “show running-config“.

Below the complete list of the IOS shortcuts:

Ctrl+T: Swap the current character with the one before it
Ctrl+K: Erase all characters from the current cursor position to the end of the line
Ctrl+X: Erase all characters from the current cursor position to the beginning of the line
Ctrl+L
: Reprint the line
Ctrl+C: Exit configuration mode
Ctrl+A: Moves the cursor to the beginning of the current line
Ctrl+E: Moves the cursor to the end of the current line
Ctrl+F: Moves forward one character
Ctrl+B: Moves backwards one character
Ctrl+R: Redisplays a line (starts a new line, with the same command shown)
Ctrl+U: Erases a line
Ctrl+W: Erases a word
Ctrl+Z: Exits configuration mode, returning you to privileged EXEC mode
Ctrl+P (or up arrow): Displays the last command entered
Ctrl+N (or down arrow): Displays previous commands entered
Tab: Completes a partial command
Esc, F: Moves forward one word
Esc, B: Moves backwards one word

11 COMMENTS

  1. correction to the last post .. weirdly is not shown:
    repost:

    [ ctrl ] + ^ i.e [ ctrl ] + [ shift ] + 6 will do the trick just fine, no need for the ‘x’.

  2. when I type ..

    Router#show version

    Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Wed 18-Jul-07 04:52 by pt_team

    ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

    System returned to ROM by power-on
    System image file is “flash:c1841-advipservicesk9-mz.124-15.T1.bin”

    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

    Router#show version
    Router#show version
    Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Wed 18-Jul-07 04:52 by pt_team

    ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

    System returned to ROM by power-on
    System image file is “flash:c1841-advipservicesk9-mz.124-15.T1.bin”

    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    –More–

    **************************************

    what should I type in order to get the next page of the version of this router, because by pressing (enter) key only 1 line gets displayed after wards and to see whole version i have to keep pressing enter, please tell me if there is any short cut existing for this???

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.