command

Run Version

runcommand

This run variable does not apply to pbssh. If it is present in the policy, it does not have any effect on pbssh and is ignored.

Data Type

String. command is read-only. runcommand is modifiable.

Description

The command and runcommand variables contain the name of the current command request. If specified, command arguments are stored in runargv and are not stored in command or runcommand. To change the current command, set the runcommand variable.

Setting the run version of this variable also sets runargv[0]; however, setting runargv does not set runcommand.

Syntax

runcommand = string;

Valid Values

A string containing the name of the current task request command as entered by the submitting user. command is a read-only variable. runcommand defaults to the value of command.

runcommand = "/bin/ls";

For more information, see the following: