Ryan A wrote:

I noticed one funny thing about this script, it starts with: #!/bin/sh
right on top but does not have a file extention...what kind of a file is
this?


Unix-like systems do not rely on file extensions to determine the file type. It uses whats called a magic number (a unique reference for each filetype)


to check a file type

# /> file myfile
which in this case should return

myfile: Bourne shell script text executable

Mike

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to