Online help and keyboard shortcuts

Prev Next

To view the CLI online help, enter a ? as follows:

  • After the prompt to view a list of the commands available in the current mode.

  • After a typed command to view the available parameters.

  • After a partially typed keyword to view the possible completions.

Note

The level of help information displayed depends on the CLI mode you are in, for more information see CLI modes.

You can enter commands in abbreviated form if you enter enough characters to uniquely identify each keyword. For example, the show configuration command can be abbreviated as sh co.

To identify a keyword’s minimum abbreviation, type one or more characters and press Tab. If you have entered enough characters, the keyword will be completed.

The following table summarizes the keyboard shortcuts:

Action

Shortcut

Description

Complete commands

Tab or Ctrl+I

Complete a partially typed keyword if enough characters are entered to uniquely identify it.

Recall commands

Ctrl+P or ↑

Retrieve previous command from the CLI history.

Ctrl+N or ↓

Retrieve next command from the CLI history.

Ctrl+L

Redisplay the current command line.

Delete characters

Ctrl+D

Ctrl+H

Ctrl+K

Ctrl+U or Ctrl+W

Delete character at the cursor.

Delete character before the cursor (same as Backspace key).

Delete all characters from the cursor to the end of the line.

Delete all characters on the line.

Move cursor

Ctrl+A

Ctrl+B

Ctrl+E

Ctrl+F

Move the cursor to the start of the line.

Move the cursor back one character.

Move the cursor to the end of the line.

Move the cursor forward one character.

Transpose characters

Ctrl+T

Transpose the character at the cursor and the preceding character.

Interrupt command output

Ctrl+C

Interrupt presentation of output on the screen. It may take a while for the interrupt to register and stop the command execution.

Exit a CLI mode or log out

Enter exit.

Change from configuration mode to enable mode or close the CLI session.