Working with Conductor Script

The following table lists Conductor Script commands most often used for writing and executing scripts:

Command

Arguments

Function

 

 

 

CommentOff

——

Stop writing script file commands and output to

 

 

standard output.

CommentOn

——

Write script file commands and output to

 

 

standard output.

Delay

milliseconds

Delay execution of the next command for the

 

 

specified number of milliseconds.

Include

filename

Execute the commands in a specified script file.

Repeat

repeat_count

Repeat execution of the next command the

 

 

specified number of times.

Script

filename

Capture Conductor Script commands and write

 

 

them into a specified script file.

ShowExpansions

show_flag

Enable or disable the printing of alias

 

 

expansions to standard output when they occur.

SilentOff

——

Turn off printing of exceptions to standard

 

 

output.

SilentOn

——

Turn on printing of exceptions to standard

 

 

output.

Step

——

Step through the commands in an include

 

 

script, prompting you for each command.

 

 

 

Operating System and File Management Commands

The following table lists Conductor Script commands for interacting with the operating system on a node to perform file management operations.

Command

Arguments

Function

 

 

 

Cd

directory_name

Change the current working directory.

Chmod

mode

Change the access permissions of the specified

 

file_name [r]

file.

 

 

 

Chapter 8 Using the Conductor Script Utility 233

Page 233
Image 233
Sun Microsystems 3 manual Operating System and File Management Commands