Using The Command History; Recalling A Command - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Using the Command History

Commands
[lines]d or [lines]Ctrl+shift+D
q or Q or Ctrl-C
[lines]s
[lines]f
=
[count]/expression
[count]n
{! | :![shell-cmd]}
.
Using the Command History
The Cisco NX-OS software CLI allows you to access the command history for the current user session. You
can recall and reissue commands, with or without modification. You can also clear the command history.

Recalling a Command

You can recall a command in the command history to optionally modify and enter again.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
62
Understanding the Command-Line Interface
Description
Scrolls through output lines for either the specified
number of lines or the current default number of lines.
The initial default is 11 lines. If you use the optional
lines argument, that value becomes the new default
number of lines to display for this command.
Exits the --More-- prompt.
Skips forward in the output for either the specified
number of lines or the current default number of lines
and displays a screen of lines. The default is 1 line.
Skips forward in the output for either the specified
number of screens or the current default number of
screens and displays a screen of lines. The default is
1 screen.
Displays the current line number.
Skips to the line that matches the regular expression
and displays a screen of output lines. Use the optional
count argument to search for lines with multiple
occurrences of the expression. This command sets
the current regular expression that you can use in
other commands.
Skips to the next line that matches the current regular
expression and displays a screen of output lines. Use
the optional count argument to skip past matches.
Executes the command specified in the shell-cmd
argument in a subshell.
Repeats the previous command.
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents