Technical data
Finding Words in show Command Output
© 2012 Meru Networks, Inc. CLI Concepts 9
Disabling the Command History Feature
The terminal history feature is automatically enabled. To disable it during the
current terminal session, type no terminal history in either privileged or non-privi-
leged EXEC mode:
controller# no terminal history
Finding Words in show Command Output
To quickly locate a word in the output of any show command, use the following
command:
show argument | grep "string"
For this feature to work, only one show command can be the input to the grep and
the show command cannot have arguments (for example, the form of the command
such as show ap 54. The "string" is a literal, case-sensitive word to search for (such
as AP-54), and must be enclosed in double quotation marks. Only one string search
can be performed per command line.
As an example, to search for and display the entry for AP-54 in the output of the show
ap command, use the command:
controller# show ap | grep "AP-54"
AP ID AP Name Serial Number Op State Availability Runtime
Connectivity AP Model AP Type
54 AP-54 00:0c:e6:00:3e:a8 Disabled Offline 3.1.4-25 None
AP320 Local
AP Table(1 entry)
Customizing the CLI Prompt
Default CLI Prompt
By default, the CLI prompt consists of the system name followed by an angle bracket
(>) for user EXEC mode or a pound sign (#) for privileged EXEC mode.