Quote:
Originally Posted by Perderabo
See our faq area for a discussion of the "#!" line and what happens without it. But to the shell, which is a program, a shell script is a data file. The only way a program can know what is in a data file is by reading the data file. There is no magic data that can be placed in a data file to change this fact.
Sorry to get in the middle. I'm trying to learn us much as I can from this forum, so I keep jumping from thread to thread (of course most of them don't make sense to me as I am a newbie)
I went to FAQ section, and read the thread (nice!), but I came up with one question regarding permissions: would it work if the script file had "read" permission but not "execute"? I'm sorry to make such questions, but I'm currently learning UNIX theoretical aspects, as I have limited access to the system.
Thanks,
panchopp.