Using SRC CLI Command Completion

You do not always have to remember or type the full command or option name for the CLI to recognize it.

Command completion also applies to other strings, such as filenames, interface names, and usernames. To display all possible values, type a partial string followed immediately by a question mark. However, to complete these strings, press the Tab key; pressing the Spacebar does not work.

Examples: Using CLI Command Completion

Issue a show command for a component that starts with the letter s:

user@host> show s  
                  ^
's' is ambiguous.
Possible completions:
  sae                  Display SAE information
  security             Display security information
  system               Display system information
user@host>

Display a list of all log files whose names start with the letter m:

user@host> file show /var/log/m?
Possible completions:
  <filename>Filename to show
  /var/log/maillogSize: 0, Last changed: Sep 27, 2006 10:33 AM
  /var/log/messagesSize: 109569, Last changed: Oct 2, 2006 3:10 PM

Related Documentation