Searching and Filtering Output at the --More-- Prompt
The --More-- prompt displays when output extends beyond a single page. At this prompt, you can press the Spacebar to display the next page, the Return or Enter key to display the next line, or Ctrl+C or Ctrl+Q to cancel the display. In addition, you can search and filter output from this prompt.
At the --More-- prompt, enter a forward slash ( /
) followed by a search string. The RUCKUS device displays output starting
from the first line that contains the search string, as shown in the following example.
The
search feature is similar to the begin option for show commands.
--More--, next page: Space, next line: Return key, quit: Control-c /telnet
The results of the search are displayed.
searching... telnet Telnet by name or IP address temperature temperature sensor commands terminal display syslog traceroute TraceRoute to IP node undebug Disable debugging functions (see also 'debug') undelete Undelete flash card files write Write running configuration to flash or terminal
To display lines containing only a specified
search string, press the Plus sign (+) at the --More-- prompt followed by a search
string.
This option is similar to the include option supported with
show commands.
--More--, next page: Space, next line: Return key, quit: Control-c +telnet
The filtered results are displayed.
filtering... telnet Telnet by name or IP address
To display lines that do not contain a specified
search string, press the Minus sign (-) at the --More-- prompt followed by a search
string.
This option is similar to the exclude option supported with
show commands.
--More--, next page: Space, next line: Return key, quit: Control-c -telnet
The filtered results are displayed.
filtering... temperature temperature sensor commands terminal display syslog traceroute TraceRoute to IP node undebug Disable debugging functions (see also 'debug') undelete Undelete flash card files write Write running configuration to flash or terminal
As with the commands for filtering output from
show commands, the search
string is a regular expression consisting of a single character or string of characters.
You
can use special characters to construct complex regular expressions. Refer to Using Special Characters to Construct Complex Regular Expressions.