View Single Post
Old Nov 16th, 2006, 4:27 PM   #4
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
It constitutes a magic number. UNIX can interpret the magic number for a lot of files, and then behave accordingly.

#!/bin/ksh
loads the ksh shell for the duration of the script - the script file becomes stdin.

look for /usr/include/magic.h and /usr/include/sys/magic.h for more information. man magic or info magic may also help.
jim mcnamara is offline   Reply With Quote