The administrative command-line interface (CLI) utility allows you to run administrative commands in interactive mode. You can also run a single command or run a set of commands from a script without starting an interactive administrative CLI session.
If you run the administrative CLI utility with any of the valid parameters, an interactive session is not started. If you run the command with no parameters, the administrative CLI starts in a session. When you are in an interactive administrative CLI session, the admin_cli_utility> prompt is displayed.
This is the syntax for using the administrative CLI command:
>>-admin_cli_utility--+-+--------+--+--------------+-+--------->< | +- -?----+ '-command_name-' | | +- -h----+ | | '- -help-' | +- -ver------------------------+ +- -overview-------------------+ +- -script--file_name----------+ '-command_string---------------'
The format options specified using the setoutput command apply to all commands in the script.
Output from successful commands routes to the standard output stream (stdout). Output from unsuccessful commands route to the standard error stream (stderr). If an error occurs while one of the commands in the script is running, the script will exit at the point of failure and return to the system prompt.
Parent topic: Administrative CLI overview