Description
2.6 General CLI commands
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 11/2014, C79000-G8976-C351-03
31
2.6.5.5
Reusing the last used commands
Description
The Command Line Interface saves the last 14 commands used in a list assigned to the
particular mode. This can then only be called up in the relevant mode.
Example:
In the Global Configuration mode, all entered commands are saved. If you entered
commands earlier in the Interface Configuration mode, these commands are not included in
the list of the Global Configuration mode. You can only call up and reuse these commands in
the Interface Configuration mode.
Procedure
You can page through the list of the commands most recently used using the arrow up and
arrow down keys.
If the command you are looking for is displayed, you can edit the command line as required
and execute the command with the enter key.
Further notes
You display the list of commands last used with the
show history
command. This function is
available in every mode.
See also
show history (Page 31)
2.6.5.6
show history
Description
This command shows the last 14 commands you entered.
The commands are listed in the order in which they were called up. The
show history
command is listed as the last command to be entered.
The list depends on the mode. In the Global configuration mode, the last 14 commands
entered in this mode are displayed. These commands are not included in the list of the
Interface configuration mode.
Requirement
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli>
or
cli#