User`s guide

Using the CLI Utility
538
AlterPath OnSite Administrators and Users Guide
You could then make the script executable and execute it on the command
line, as shown in the following screen example.
Alternately, you can put one or more commands in a plain text file without
invoking any shell as shown in the following screen example.
After you save and quit the file, you can invoke the CLI command with the
-f file option to execute the command(s) from the file, as shown in the
following example.
Autocompletion
Autocompletion can be used to find out what commands and parameters are
available. Pressing the Tab key twice displays all the commands at the top
level, as shown in the following screen example.
Pressing the Tab key once after partially-typing a parameter name
automatically completes the parameter name, unless there is more than one
parameter name beginning with the typed characters. If more than one
parameter name begins with the typed characters, then Tab Tab displays them
all.
[root@OnSite root]# chmod 777 scriptname2
[root@OnSite root]# ./scriptname2
config security adduser username roseanne
[root@OnSite root]# CLI -f file
cli> <Tab> <Tab>
administration info return version
applications portStatus shell
config quit show