Command Reference Guide

8 CLI Command
cli
DESCRIPTION
The cli command provides a means to set up your CLI session or to enter directly into a CLI shell.
SYNTAX
cli [options] [<commands>]
AUTHORITY
Super, Edit, Browse, Service
OPTIONS
v
Displays the CLI client version.
b
Displays the CLI client build level.
h
Displays help for the cli command.
tpdportnum <portnum>
Specifies the TCP port of the CLI server to which the CLI client connects. The default SSL port number
is 5783; the default unsecured port number is 5782.
sockssl
Use SSL for a socket connection. SSL can be used when either this option is used or the TPDSOCKSSL
environment variable has been set.
sys <sysname>
Connect to system named <sysname>. When this option is not used, the CLI uses the value of
the TPDSYSNAME environment variable. When the TPDSYSNAME environment variable is not set,
the CLI prompts you for the system name.
pwf <passwdfile>
Specifies the password file that contains the user name and encrypted password. If this option is
not used, check the TPDPWFILE environment variable for the password filename. If the environment
variable is not set, the CLI prompts you for the user name and password.
user <user_name>
Specifies a user name to access the CLI. If used, this option must be issued with the password
option and overrides the pwf option.
password <encrpw>
Specifies an encrypted password to access the CLI. If used, this option must be issued with the
user option and overrides the pwf option.
cmdloop
Specifies that after commands are issued on the command line, an interactive command loop is
entered.
hafter <nlines>
Prints a header after <nlines> of data.
72 CLI Command