Introduction to the CLI

The Command Line Interface (CLI) provides the same capabilities that the BUI provides, while also providing a powerful scripting environment for performing repetitive tasks.

If you are not sure what your choices are or what to enter in a particular situation, use the following methods to get help:

  • Tab completion. If you have typed a partial command, you can type a tab character to see what should come next. For example, if you are setting the value of a property that has a fixed set of possible values, type a tab character after the = symbol to show the list of possible values. You can type a tab character in the middle of a command name and the CLI will complete the command name or type two tab characters to complete the command name and also list the possible arguments of the command.

  • The help command. Enter help to see a list of commands that can be used in the current context, or enter topic help to get help on a different topic. Enter help general for descriptions of how to use the tab character and for information about how to navigate within a long command line and how to move backward and forward through your command history.

The following example demonstrates using both the help command and tab completion to show arguments that you can use with the help command:

hostname:> hetab
            tab
         
builtins    commands    general    help    properties    script