3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)
3.18
Stand-alone Commands
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
3.2.12 Forcing Commands
A number of CLI commands return confirmation prompts before executing the command
operations. For these commands, an
–f option is provided allowing you to bypass the
confirmation and force the execution of the command. The TPDFORCE environment variable
automatically provides the functionality of the -f option and alleviates the need of having to
specify the
–f option when issuing commands that would otherwise require a confirmation.
The TPDFORCE environment variable is set differently in Solaris or Linux, and Windows.
3.2.12.1 Setting the TPDFORCE Environment Variable on Solaris and Linux
To set the TPDFORCE environment variable in Solaris and Linux, see the following system
output example:
3.2.12.2 Setting the TPDFORCE Environment Variable on Windows
To set the TPDFORCE environment variable in Windows:
1 Perform step 1 through step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in 3.2.3 Using SSL on page 3.7.
2 Enter
TPDFORCE in the Variable box.
3 Enter
1 in the Value box.
4 Click OK.
3.3 Stand-alone Commands
There are two ways to issue CLI commands from a shell prompt in Solaris and Linux, or from a
Windows command prompt:
■ CLI commands can be executed like typical UNIX and MS-DOS commands.
◆ If the CLI commands are run as individual commands, you are prompted for your
username and password for each command. This can be avoided by setting your system
to read your username and password from a file. See 3.2.6 Setting Your Name and
Password on page 3.10 for more information.
$
TPDFORCE=1
$ export
TPDFORCE
$ cli