Command Completion

Command completion allows you to run a command by entering a partial string. To automatically complete commands or keywords, start typing and then press Tab. For example, in advanced mode, type sh and press <TAB> once; the CLI completes it to show. Press <TAB> twice; the CLI completes it to shutdown. Press <TAB> three times; the CLI returns to sh.

SmartEdge# sh<TAB>
SmartEdge# show

SmartEdge# sh<TAB><TAB>
SmartEdge# shutdown

SmartEdge# sh<TAB><TAB><TAB>
SmartEdge# sh

The command completion iteratively provides available subcommands by pressing the <TAB> key. For example, in advanced mode, type show followed by a space and press <TAB> once. A subcommand, internal-network, is automatically appended. Press <TAB> again, and the subcommand is replaced by license. If you continue this process, the available subcommands of show will be iteratively appended to the end of the show command.

SmartEdge# show <TAB>
SmartEdge# show internal-network<TAB>
SmartEdge# show license<TAB>
SmartEdge# show manager<TAB>
SmartEdge# show serial<TAB>
SmartEdge# show version<TAB>
SmartEdge# show

Utilizing command completion can significantly enhance the efficiency and accuracy of command execution within the RUCKUS Edge CLI.

SmartEdge# sh<TAB>
SmartEdge# show m<TAB>
SmartEdge# show manager s<TAB>
SmartEdge# show manager status