Completing A Partial Command Name - Motorola WS5100 Series Cli Reference Manual

Hide thumbs Also See for WS5100 Series:
Table of Contents

Advertisement

Keystrokes
Ctrl-Z
Ctrl-L

1.4.2 Completing a Partial Command Name

If you cannot remember a complete command name, or if you want to reduce the amount
of typing you have to perform, enter the first few letters of a command, then press the Tab
key. The command line parser completes the command if the string entered is unique to
the command mode. If your keyboard does not have a Tab key, press Ctrl-I.
The CLI recognizes a command once you have entered enough characters to make the
command unique. If you enter "conf" within the privileged EXEC mode, the CLI associates
the entry with the configure command, since only the configure command begins with
.
conf
In the following example, the CLI recognizes a unique string in the privileged EXEC mode
when the Tab key is pressed:
WLAN Module# conf<Tab>
WLAN Module# configure
When you use the command completion feature, the CLI displays the full command name.
The command is not executed until you use the Return or Enter key. This way you can
modify the command if the full command was not what you intended in the abbreviation.
If entering a set of characters (indicating more than one command), the system lists all
commands that begin with that set of characters.
Alternatively, enter a question mark (?) to obtain a list of commands that begin with that
set of characters. Do not leave a space between the last letter and the question mark (?).
For example, entering
WLAN Module# co?
copy? commit
WLAN Module# co
Function
Summary
lists all commands available in the current command mode:
co?
NOTE: The characters you enter before the question mark are reprinted
to the screen to allow you to complete the command entry.
Function Details
Enters the command and returns to the root
promp
Refresh input line
Introduction 1-
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents