z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the magic number

z/OS UNIX System Services User's Guide
SA23-2279-00

All tcsh scripts must have # as the first character of the script. When a script file starts with #!, the kernel's spawn and exec services recognize the file name after the #! as the program to be run. It is recommended that the first line of all tcsh scripts look like:
#!/bin/tcsh
with /bin/tcsh being the location of tcsh on the z/OS® system. The kernel recognizes the magic value (#!) and runs /bin/tcsh.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014