The following table describes the shell path, which you need to specify on the first line of the script to enable Control-M to recognize the script shell type.
#! <shell path>
Shell type |
Shell path |
Default Switch |
Other switches |
---|---|---|---|
Bourne |
/bin/sh |
-x |
-v/n |
bash |
/bin/bash |
-x |
-v/n |
Korn |
/bin/ksh |
-x |
-v/n |
Restricted Korn |
/bin/rksh |
-x |
-v/n |
csh |
/bin/csh |
|
|
tcsh |
/bin/tcsh |
|
|
NOTE: The command line of command type jobs must be in Bourne shell syntax only.
For information about the switches, see Shell switch parameters.
Parent Topic |