Keywords

There are various macros that can be specified in the command to substitute keywords when the command is run on the remote host. For example, the following command uses the ${rhost}$ keyword. It performs a usrun echo command of the remote host name on all agents that have a command control agent deployed:

udsh -w \* /bin/echo '${rhost}$'

Table 6-3 udsh Keywords

Keyword

Description

${uid}$

Calling user’s UID

${gid}$

Calling user’s primary group ID

${gecos}$

Calling user’s gecos

${home}$

Calling user’s home directory

${shell}$

Calling user’s shell

${cwd}$

Calling user’s current working directory

${lhost}$

Local hostname

${rhost}$

Remote hostname

${pid}$

PID of the individual udsh call

${ppid}$

PID of the udsh