sh


Name

sh — execute a shell command

Synopsis

Supported for RTserver, RTclient, RTmon, RTgms, and RTacl:

sh arguments 

Description

The sh command executes a shell command. On UNIX this shell is the Bourne shell. On OpenVMS this is DCL. On Windows this is the shell that you run in the command prompt (DOS box). The arguments are passed to the C runtime function system, which in turn passes them to the shell.

Caution

There is no way on UNIX to specify which shell to use.

To prevent irreversible damage to your SmartSockets system, this command should not be specified with the Enable_Control_Msgs option without careful supervision.

See Also

cd

Examples

UNIX Examples:

PROMPT> sh pwd 
sh command executing with string: pwd 
/home/ssuser/demos/eps 
PROMPT> sh date 
sh command executing with string: date 
Wed Jul 28 13:13:26 PST 1999 

OpenVMS Examples:

PROMPT> sh show default 
sh command executing with string: show default  
WKST1$DKA300:[SSUSER.DEMOS.EPS] 
PROMPT> sh show time 
sh command executing with string: show time  
28-JUL-1999 13:16:25 

Windows Example:

PROMPT> sh date 
sh command executing with string: date 
The current date is: Wed 07/28/1999 
Enter the new date: (mm-dd-yy) 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com